Form of reduce stream where all data is appended to a list before being emitted.

collect_stream(...)

Arguments

...

arguments passed to reduce_stream

Examples

as_reader(1:10) %|>%
    collect_stream() |>
    on("data", print)