calculateRetryDelay

abstract fun calculateRetryDelay(attempt: Int): Duration

Calculates a delay between each of the retries.

Important: This is a Public Preview API. It may be changed or removed at any time.