Prelude API
    Preparing search index...

    Type Alias WaitOptions

    type WaitOptions = {
        signal?: AbortSignal;
        timeout?: number;
    }
    Index
    signal?: AbortSignal

    Aborting removes the listener and the timer and rejects with signal.reason.

    timeout?: number

    Maximum time to wait in milliseconds before rejecting with a timeout error (default: 60 seconds; a non-finite value waits forever).