nextDelay

open override fun nextDelay(cause: Throwable, attempt: Long): Duration(source)

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

Parameters

cause
attempt

starting from zero on the initial call