coerceAtMost

open fun coerceAtMost(maximumValue: Duration): DelayStrategy

Ensures that the delay durations of this strategy are at most of the specified maximumValue.

Return

A new DelayStrategy representing the coerced delay durations.

Since

1.0.0

Parameters

maximumValue

The maximum duration value to be coerced to.