backoff

abstract fun backoff(context: RetryContext<*>): Duration

Returns the Duration to wait for before retrying the request for the given retry number.