FixedDelay

class FixedDelay(delayMillis: Long) : DelayStrategy

Deprecated

Use https://github.com/michaelbull/kotlin-retry instead.

DelayStrategy that, when await is called, will delay for a fixed amount of time, specified by delayMillis.

Constructors

Link copied to clipboard
constructor(delayMillis: Long)

Functions

Link copied to clipboard
open suspend override fun await(iteration: Int, elapsedMillis: Long)