Functions

Link copied to clipboard
abstract fun getDelay(maxRetries: Int, remainingRetries: Int): Duration

Gets a delay based on the max retries and remaining retries

Link copied to clipboard
abstract fun maxDuration(maxRetries: Int): Duration

Returns the max duration if all retries are attempted.