arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / delayBy

delayBy

fun delayBy(d: Duration): Stream<O>

Returns a stream that when run, sleeps for duration d and then pulls from this stream.

Alias for sleep(d) ++ this.

Do you like Arrow?

Arrow Org
<