Server-assigned task handle — the value the seller emitted in
response.task_id (AdCP submitted-arm wire field) or surfaced via
the A2A response Task. This is the identifier the seller knows; it
is what the SDK passes to subsequent tasks/get polling calls.
NOT the same as the SDK's runner-side correlation id (TaskState.taskId,
a local UUID generated at request time and used internally for
activeTasks map indexing and the {operation_id} webhook URL macro).
The runner-side id never reaches the seller.
If the seller violated the spec and didn't include a task handle on the submitted-arm response, this falls back to the runner-side correlation id — pollers won't be able to locate the work, but callers at least get a non-undefined value to log.
OptionalwebhookWebhook URL where server will notify completion
Get current task status. Pass transport to override the executor-constructor cap for this poll.
Wait for completion with polling. Transport cap is fixed at task-submission time; use track for per-poll override.
Pass signal to cancel the polling loop early (e.g. AbortSignal.timeout(ms)); the loop exits cleanly on abort
rather than continuing to issue tasks/get requests after the caller has moved on. (adcp-client#1612)
On abort with an A2A seller, a tasks/cancel is also dispatched as a protocol courtesy (A2A 0.3.0 §7.4)
— fire-and-forget; the buyer does not wait for acknowledgment and the outcome does not affect the returned TaskResult.
Continuation for submitted server tasks (server needs time).
Returned in
TaskResult.submittedwhen the seller signals an AdCPsubmittedarm (long-running work that won't complete inside the transport call). The buyer either polls via waitForCompletion / track or waits for the seller's webhook callback at webhookUrl.