Spotify Retry Executor
class SpotifyRetryExecutor(retryPolicy: RetryPolicy = RetryPolicy(), delayFn: suspend (Long) -> Unit = { delay(it) }, jitterFn: (Long) -> Long = { max -> if (max <= 0L) 0L else Random.nextLong(0L, max + 1) })
Constructors
Link copied to clipboard
constructor(retryPolicy: RetryPolicy = RetryPolicy(), delayFn: suspend (Long) -> Unit = { delay(it) }, jitterFn: (Long) -> Long = { max -> if (max <= 0L) 0L else Random.nextLong(0L, max + 1) })