Interface RetryFulfilledOptions<Value>

Options of the retryFulfilled plugin.

interface RetryFulfilledOptions<Value> {
    count?: number;
    delay?: number | ((index: number, executor: Executor<Value>) => number);
    isEager?: boolean;
}

Type Parameters

  • Value

    The value stored by the executor.

Properties

count?: number

The number of repetitions.

Infinity
delay?: number | ((index: number, executor: Executor<Value>) => number)

The delay in milliseconds after which the repetition is scheduled.

5_000
isEager?: boolean

If true then executor is retried even if it isn't active.

false