FixedTimeDelayStrategy

Fixed delay strategy, always returns constant delay for any cause and any attempt.

Constructors

Link copied to clipboard
constructor(duration: Duration)

Functions

Link copied to clipboard
open override fun nextDelay(cause: Throwable, attempt: Long): Duration

Returns the Duration computed by this DelayStrategy to delay. Duration.ZERO means passing without delay.