arrow-fx-coroutines / arrow.fx.coroutines / Schedule / delay

delay

@ExperimentalTime fun delay(f: suspend (duration: Duration) -> Duration): Schedule<Input, Output>fun <A> ~~delay~~(): 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 that returns its delay.

Do you like Arrow?

Arrow Org
<