arrow-fx-coroutines / arrow.fx.coroutines / Schedule / fibonacci
fun <A> ~~fibonacci~~(one:
Duration
):
Schedule
<A,
Duration
>
Deprecated: arrow.fx.coroutines.Duration API in Schedule is deprecated in favor of Double and kotlin.time.Duration, and will be removed in 0.13.0.
@ExperimentalTime fun <A> fibonacci(one:
Duration
):
Schedule
<A,
Duration
>
Creates a Schedule that continues with increasing delay by adding the last two delays.
fun <A> fibonacci(one:
Double
):
Schedule
<A,
Double
>
Creates a Schedule that continues with increasing delay by adding the last two delays.
one
- initial delay in nanoseconds
Do you like Arrow?
✖