Map stream, but for side-effects

walk_stream(fn, ...)

Arguments

fn

function applied to each chunk of the stream, but does not enqueue the changed chunk

...

arguments passed to TransformStream

Examples

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