Request for Improved Stream.mapChunks Example
I'd like to request a better Stream.mapChunks example.
It's quite hard to decipher where's the accumulator and where the next emitted chunk, or how to conditionally hold the chunk emitting.
Not sure if a named object with options would be a better alternative due to gc pressure.
It's quite hard to decipher where's the accumulator and where the next emitted chunk, or how to conditionally hold the chunk emitting.
Not sure if a named object with options would be a better alternative due to gc pressure.
