Last active
October 2, 2018 18:24
-
-
Save alex-okrushko/8440f12794a9a75cbca2af2f7474a88a to your computer and use it in GitHub Desktop.
RetryBackoffConfig used in retryBackoff - exponential backoff retry for pipeable operators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface RetryBackoffConfig { | |
initialInterval: number; | |
maxRetries?: number; | |
maxInterval?: number; | |
shouldRetry?: (error: any) => boolean; | |
backoffDelay?: (iteration: number, initialInterval: number) => number; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment