Delay Strategy
Represents a strategy for computing delay times based on an index.
Complex delay strategies can be composed using arithmetic operators and min/max coercion methods
Since
1.0.0
Properties
Converts a DelayStrategy to a RetryPolicy with a RetryPredicate of onException
Functions
Ensures that the delay durations of this strategy are at least of the specified minimumValue.
Ensures that the delay durations of this strategy are at most of the specified maximumValue.
Ensures that the delay durations of this strategy are within the specified duration range.
Ensures that the delay durations of this strategy are within the specified range.
Combines this strategy with another by subtracting their delay durations when get is called for a given index.
Combines this strategy with another by summing their delay durations when get is called for a given index.
Inverts the delay duration of this strategy when get is called for a given index.
Returns this delay strategy unchanged. This function exists mainly for symmetry purposes.
Combines a DelayStrategy with a RetryPredicate to create a RetryPolicy.
Introduces jitter (randomness) to the retry delay, spreading out the timing of retries.