Dynamic
Deprecated
Use https://github.com/michaelbull/kotlin-retry instead.
Dynamic DelayStrategy, allowing for switching between multiple other DelayStrategies utilizing a trigger (to provide an input) and a selector function (to determine a resulting DelayStrategy from said input).
The resulting DelayStrategy's await will be called with an elapsedMillis determined by the amount of time that has passed since the Dynamic DelayStrategy's await was called, allowing it to factor that into its calculation (for the purposes of adjusting one DelayStrategy's delay based on the amount of time that passed in another DelayStrategy's delay).