@grow-codes/better-stack-logs - v0.1.1
    Preparing search index...

    Interface PollOptions

    Options of pollUntil.

    interface PollOptions {
        ignoreError?: (error: unknown) => boolean;
        intervalMs?: number;
        now?: () => number;
        operation?: string;
        signal?: AbortSignal;
        sleep?: (ms: number, signal?: AbortSignal) => Promise<void>;
        timeoutMs?: number;
    }
    Index
    ignoreError?: (error: unknown) => boolean

    Errors for which polling continues instead of failing (default: none).

    intervalMs?: number

    Wait between attempts in ms (default 1 000).

    now?: () => number

    Test seam: clock in ms.

    operation?: string

    Name used in the timeout message (default "poll").

    signal?: AbortSignal

    Caller cancellation.

    sleep?: (ms: number, signal?: AbortSignal) => Promise<void>

    Test seam.

    timeoutMs?: number

    Give up after this many ms (default 30 000).