!TypeError If the parameters are invalid
The task to retry
Optional
options: RetryOptionsThe options to use
Determine whether the task is running or not
The options of the retry operation
Abort the task
If the task is not running, this method does nothing. If the task is running, it will be aborted and the promise returned by () will be rejected with an AbortError.
Optional
onfulfilled: null | ((value: T) => TResult1 | PromiseLike<TResult1>)Optional
onrejected: null | ((reason: any) => TResult2 | PromiseLike<TResult2>)Generated using TypeDoc
Retry a task