• Retries the latest task if the observable emits true. If executor isn't active and retry isn't eager then the task is retried after the executor becomes active.

    Parameters

    • observable: Observable<boolean>

      The observable that triggers the retry of the latest task.

    • options: RetryWhenOptions = emptyObject

      Retry options.

    Returns ExecutorPlugin