• Repeats the last task after the execution was fulfilled.

    Type Parameters

    • Value = any

      The value stored by the executor.

    Parameters

    • count: number = Infinity

      The number of repetitions.

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

      The delay in milliseconds after which the repetition is scheduled.

    Returns ExecutorPlugin<Value>