arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / Queue / queueFirstN
fun <A> queueFirstN(n: Int, q: IQueue<A>): Pair<Chunk<A>, IQueue<A>>
Creates a chunk consisting of the first n elements of queue and returns the remainder.
Do you like Arrow?
✖