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