pinterval
    Preparing search index...

    Interface RetryOptions

    Shared scheduling and lifecycle options for finite helpers.

    interface RetryOptions {
        attempts: number;
        onRetry?: OnRetry;
        signal?: AbortSignal;
        start?: StartMode;
        time: Duration;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index
    attempts: number

    Maximum total number of executions. Must be a positive integer.

    onRetry?: OnRetry

    Runs after a retryable failure and before the next delay. Only false stops retrying.

    signal?: AbortSignal

    An optional external cancellation signal.

    start?: StartMode

    Determines whether the first execution is immediate or delayed. Defaults to immediate.

    time: Duration

    Delay between executions, in milliseconds or as a counter-based duration function. Concrete and resolved values must be finite and between 0 and 2,147,483,647 milliseconds inclusive.

    timeout?: number

    Maximum total operation lifetime in milliseconds, from 0 through 2,147,483,647 inclusive.