Rush StackShopBlogEvents
Skip to main content

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

IRunWithRetriesOptions.action property

The action to be performed. The action is repeatedly executed until it completes without throwing or the maximum number of retries is reached.

Signature:

action: (retryCount: number) => Promise<TResult> | TResult;