BackoffStrategy

sealed interface BackoffStrategy

Strategy for computing the delay before the next retry attempt.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun delay(attempt: Int)

Suspends for the delay duration appropriate for the given attempt (1-based).