arrow-fx-coroutines / arrow.fx.coroutines.stream / takeLast

takeLast

fun <O> Pull<O, Unit>.takeLast(n: Int): Pull<Nothing, Queue<O>>

Emits the last n elements of the input.

Do you like Arrow?

Arrow Org
<