• Retries the last task after the execution has failed.

    Type Parameters

    • Value = any

      The value stored by the executor.

    Parameters

    • count: number = 3

      The number of times the task must be repeated if rejected.

    • ms: number | ((index, executor) => number) = exponentialDelay

      The delay in milliseconds after which the retry is scheduled.

    Returns ExecutorPlugin<Value>