arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / unfoldEffect
fun <S, O> unfoldEffect(s: S, f: suspend (S) -> Pair<O, S>?): Stream<O>
fun <S, O> unfoldEffect(s: S, f: suspend (S) ->
Pair
<O, S>?):
Stream
<O>
Like unfold, but takes an suspend function.
Do you like Arrow?