Methods
delay
- delay(failure: Throwable | Error, retryCount: number): number
-
Parameters
-
failure: Throwable | Error
-
retryCount: number
Returns number
Static constantDelay
-
Parameters
Static exponentialDelayWithJitter
- exponentialDelayWithJitter(initialDelay: number, maxDelay: number): RetryPolicy
-
Parameters
-
initialDelay: number
-
maxDelay: number
Static linearDelay
- linearDelay(initialDelay: number, maxDelay: number): RetryPolicy
-
Parameters
-
initialDelay: number
-
maxDelay: number
A policy for retry execution.