Skip to content

Latest commit

 

History

History
104 lines (50 loc) · 1.41 KB

File metadata and controls

104 lines (50 loc) · 1.41 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > IRunWithRetriesOptions

IRunWithRetriesOptions interface

Signature:

export interface IRunWithRetriesOptions<TResult> 

Remarks

Used with Async.runWithRetriesAsync()<></>.

Properties

Property

Modifiers

Type

Description

action

(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.

maxRetries

number

The maximum number of times the action should be retried.

retryDelayMs?

number

(Optional) The delay in milliseconds between retries.