pinterval
    Preparing search index...

    Interface TimesOptions

    Shared scheduling and lifecycle options for finite helpers.

    interface TimesOptions {
        amount: number;
        signal?: AbortSignal;
        start?: StartMode;
        time: Duration;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index
    amount: number

    Number of times to execute the operation. Must be a non-negative integer.

    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.