arrow-fx-coroutines / arrow.fx.coroutines.stream / unconsLimitOrNull
fun <O>
Pull
<O,
Unit
>.unconsLimitOrNull(n:
Int
):
Pull
<
Nothing
,
PullUncons
<O>?>
Like unconsOrNull, but returns a chunk of no more than n elements.
Pull.just(null)
is returned if the end of the source stream is reached,
or a negative chunk size is requested.
Do you like Arrow?
✖