Interface AsyncRetryArgs<T>
Properties
asyncFn
asyncFn: function
Optional maxRetrials
maxRetrials: number
onFailureAsync
onFailureAsync: function
Type declaration
-
- (e: Error, retryCount: number): Promise<boolean>
-
Parameters
-
e: Error
-
retryCount: number
Returns Promise<boolean>
Optional retryCount
retryCount: number
Args object for asyncRetry