bunqueue v2.9 API referenceall versions · guide
bunqueue
    Preparing search index...

    Interface AgentTurnOptions<T>

    interface AgentTurnOptions<T = unknown> {
        cancel?: () => void | Promise<void>;
        executionId?: string;
        journal?: AgentJournal;
        schema?: { parse(value: unknown): T };
        signal?: AbortSignal;
        stepId?: string;
    }

    Type Parameters

    • T = unknown
    Index
    cancel?: () => void | Promise<void>

    Forward to the provider cancellation API; remote operations may already have been issued.

    executionId?: string
    journal?: AgentJournal
    schema?: { parse(value: unknown): T }
    signal?: AbortSignal
    stepId?: string