Dex TypeScript SDK 1.30.0
    Preparing search index...

    Interface WaitForStepCompletionOptions

    Configures one durable Step completion wait. The server derives a stable Request ID from the Step execution when none is supplied. requestTimeoutMs bounds the entire SDK call across transparent transport reattachments. Temporal permits 10 in-flight Updates per Workflow Execution. internalHandlerTimeoutMs reclaims accepted waits that outlive callers and could consume those slots. Active callers transparently start another generation, which adds another Update to history.

    interface WaitForStepCompletionOptions {
        internalHandlerTimeoutMs?: number;
        requestId?: string;
        requestTimeoutMs?: number;
    }
    Index

    Properties

    internalHandlerTimeoutMs?: number

    Sets the Temporal Update handler generation lifetime. Use it only when abandoned waits can approach Temporal's in-flight Update limit. Omit or use zero to disable rollover. Prefer a value longer than normal request timeouts and reconnect gaps; each generation counts toward Temporal's 2,000-Update history limit.

    requestId?: string

    Overrides the stable Request ID that the server derives from the Step execution.

    requestTimeoutMs?: number

    Total SDK call budget. Omit or use zero to wait indefinitely.