arrow-fx / arrow.fx / Schedule / exponential
fun <F, A> exponential(M: Monad<F>, base: Duration, factor: Double = 2.0): Schedule<F, A, Duration>
Create a schedule that increases its delay exponentially with a given factor and base. Delay can be calculated as base * factor ^ n where n is the number of executions.
Do you like Arrow?
✖