arrow-fx / arrow.fx / Schedule / collect

collect

fun collect(): Schedule<F, Input, List<Output>>

Accumulate the results of every execution to a list

fun <F, A> collect(M: Monad<F>): Schedule<F, A, List<A>>

Create a schedule which collects all it’s inputs in a list

Do you like Arrow?

Arrow Org
<