RetryDelaySupplier

@Singleton
class RetryDelaySupplier(incrementSeconds: Long)

Constructors

Link copied to clipboard
@Inject
fun RetryDelaySupplier()

Functions

Link copied to clipboard
fun getDelayMillis(maxRetries: Int, remainingRetries: Int): Long

Calculate an exponential backoff delay before retrying the next completion request using the equation: