@edgible-team/sdk
    Preparing search index...

    Interface WaitOptions

    interface WaitOptions {
        onProgress?: (state: OperationState) => void;
        pollIntervalMs?: number;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index

    Properties

    onProgress?: (state: OperationState) => void

    Called after each poll with the latest observed state.

    pollIntervalMs?: number

    Fixed poll interval; default is backed-off (1s → 10s, ×1.5).

    signal?: AbortSignal

    Aborts the wait between polls.

    timeoutMs?: number

    Overall deadline; default 300 000 ms.