Package-level declarations
Types
Represents a strategy for computing delay times based on an index.
Properties
A property extension that converts the Duration to a DelayStrategy with a constant delay.
A property extension that converts a DelayFunction to a DelayStrategy.
A property extension that converts the Duration to a Fibonacci-based DelayStrategy.
A DelayStrategy that always yields zero delay.
A property extension that converts a list of Durations to a sequential DelayStrategy.
Functions
Creates a DelayStrategy that always returns the same delay duration.
Creates a DelayStrategy that always returns the same delay duration.
Creates a DelayStrategy using a custom delay function.
An infix function to create a fibonacci backoff DelayStrategy.
An infix function to create a linear backoff DelayStrategy.
An infix function to create an exponential backoff DelayStrategy.
Creates a DelayStrategy with exponentially increasing delay durations.
Creates a DelayStrategy with delays that increase by the Fibonacci sequence multiplied by the baseDelay.
Creates a DelayStrategy with a linearly increasing delay duration based on the given initial delay and increment.
Returns a DelayStrategy that yields the largest delay duration for each index when compared among the provided strategies.
Returns a DelayStrategy that yields the smallest delay duration for each index when compared among the provided strategies.
Creates a DelayStrategy that returns a list of delays in sequence, defined in milliseconds. Once the list is exhausted, it will keep returning the last delay.
Creates a DelayStrategy that returns a list of delays in sequence. Once the list is exhausted, it will keep returning the last delay.
Multiplies a Double with the delay durations of a DelayStrategy.
Multiplies an Int with the delay durations of a DelayStrategy.