@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface DeferredContinuation<T>

    Continuation for a paused task. The closure resumes the same seller task in the current process; application-issued deferrals may additionally be persisted through TaskExecutor deferred storage.

    interface DeferredContinuation<T> {
        token: string;
        question?: string;
        resume: (input: any) => Promise<TaskResult<T>>;
        recovery?: { operationId: string; recoveryKey: string };
    }

    Type Parameters

    • T
    Index
    token: string

    SDK continuation token; this is not the seller's task ID.

    question?: string

    Question that triggered the deferral

    resume: (input: any) => Promise<TaskResult<T>>

    Resume the same seller task with user input or after refreshing auth.

    recovery?: { operationId: string; recoveryKey: string }

    Stable operation route and host-only recovery capability. Present only when the call opted into durable operation-routed recovery. Persist this once; never expose recoveryKey to the seller or a human approver.