footprintjs - v11.2.0
    Preparing search index...

    Interface RetryLoopOptions<TScope, TValue>

    interface RetryLoopOptions<TScope = any, TValue = unknown> {
        attempt: (
            scope: TScope,
            context: RetryLoopContext,
        ) => TValue | Promise<TValue>;
        idempotencyKey: (context: IdempotencyKeyContext) => string;
        into?: string;
        onStop?: "throw" | "continue";
        reconcile: (
            scope: TScope,
            context: RetryLoopContext,
        ) => AttemptEffect | Promise<AttemptEffect>;
        retry: RetryPolicy;
        touches: string;
        wait?: "pause" | "sleep";
    }

    Type Parameters

    • TScope = any
    • TValue = unknown
    Index
    attempt: (scope: TScope, context: RetryLoopContext) => TValue | Promise<TValue>
    idempotencyKey: (context: IdempotencyKeyContext) => string
    into?: string
    onStop?: "throw" | "continue"
    reconcile: (
        scope: TScope,
        context: RetryLoopContext,
    ) => AttemptEffect | Promise<AttemptEffect>

    'none' must authoritatively establish that the operation was not applied; an empty search is not enough.

    touches: string
    wait?: "pause" | "sleep"