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

sleep

fun sleep(d: Duration): Stream<Unit>

A single-element Stream that waits for the duration d before emitting unit.

Do you like Arrow?

Arrow Org
<