Type alias BackoffFunction
BackoffFunction: ((retryAttempt: number, error: Error, transactionId: string) => number)
Type declaration
-
- (retryAttempt: number, error: Error, transactionId: string): number
-
Parameters
-
retryAttempt: number
-
error: Error
-
transactionId: string
Returns number