RetryDelaySupplier

@Singleton
class RetryDelaySupplier(incrementSeconds: Long)

Constructors

Link copied to clipboard
@Inject
constructor()
constructor(incrementSeconds: Long)

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: