@runloop/api-client - v1.18.0
    Preparing search index...

    Type Alias LongPollRequestOptions<T>

    LongPollRequestOptions: Core.RequestOptions & {
        longPoll?: { timeoutMs?: number };
        polling?: Partial<PollingOptions<T>>;
    }

    Request options for methods that use server-side long-polling. Extends Core.RequestOptions with long-poll configuration alongside the deprecated polling field for backwards compatibility.

    Type Parameters

    • T

    Type Declaration

    • OptionallongPoll?: { timeoutMs?: number }

      Options for the long-poll operation.

      • OptionaltimeoutMs?: number

        Timeout in milliseconds for the entire long-poll operation.

    • Optionalpolling?: Partial<PollingOptions<T>>

      Use longPoll instead. Only timeoutMs is extracted; other fields are ignored for long-poll endpoints.