Member Junction
    Preparing search index...

    The composed bound applied to a single model call: the caller's cancellation token (if any) merged with the prompt's configured AIPrompt.TimeoutMS (if any).

    Produced by AIPromptRunner.createExecutionBound and consumed by the bounded ChatCompletion race. Dispose() MUST be called when the call settles so the timeout timer and abort listener are released.

    interface ExecutionBound {
        Dispose: () => void;
        Signal?: AbortSignal;
        TimedOut: () => boolean;
        TimeoutMS?: number;
    }
    Index

    Properties

    Dispose: () => void

    Releases the timer and the caller-token listener. Safe to call multiple times.

    Signal?: AbortSignal

    Merged abort signal; undefined when there is neither a caller token nor a prompt timeout.

    TimedOut: () => boolean

    True once the TIMEOUT (not the caller's token) fired — used to build the right error.

    TimeoutMS?: number

    The prompt-configured timeout in ms, when one applies.