pinterval
    Preparing search index...

    Interface UntilOptions<T>

    Shared scheduling and lifecycle options for finite helpers.

    interface UntilOptions<T> {
        predicate: UntilCondition<T>;
        signal?: AbortSignal;
        start?: StartMode;
        time: Duration;
        timeout?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    predicate: UntilCondition<T>

    Determines whether a returned value completes the helper.

    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.