arrow-fx-coroutines / arrow.fx.coroutines / Schedule / linear
fun <A> ~~linear~~(base:
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.
Creates a Schedule which increases its delay linearly, by n * base where n is the number of executions.
fun <A> linear(base:
Double
):
Schedule
<A,
Double
>
Creates a Schedule which increases its delay linearly, by n * base where n is the number of executions.
base
- the base delay in nanoseconds@ExperimentalTime fun <A> linear(base:
Duration
):
Schedule
<A,
Duration
>
Creates a Schedule which increases its delay linearly, by n * base where n is the number of executions.
Do you like Arrow?
✖