Home > @rushstack/node-core-library > IRunWithRetriesOptions
IRunWithRetriesOptions interface
Signature:
export interface IRunWithRetriesOptions<TResult>
Remarks
Used with Async.runWithRetriesAsync().
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(retryCount: number) => Promise<TResult> | TResult | The action to be performed. The action is repeatedly executed until it completes without throwing or the maximum number of retries is reached. | ||
number | The maximum number of times the action should be retried. | ||
number | (Optional) The delay in milliseconds between retries. |