Amazon Vinyl
    Preparing search index...

    Interface PollOptions

    interface PollOptions {
        abort?: Maybe<ReadonlyAbort>;
        pollInterval?: number;
        timeout?: number;
    }
    Index

    If provided, aborting rejects the returned promise with the signal's abort reason, cancelling the poll.

    pollInterval?: number

    How often to re-evaluate the predicate, in seconds. Defaults to 0.05 (50ms).

    timeout?: number

    How long to keep polling before giving up, in seconds. If omitted, polling continues indefinitely until the predicate returns true (or the signal aborts).