This method allows mapping over the stream. The fn function will be called for every chunk in the stream. If the fn function returns a promise - that promise will be awaited before being passed to the result stream.
await
a function to map over every chunk in the stream. Async or not.
Optional
a stream mapped with the function fn.
v17.4.0, v16.14.0
This method allows mapping over the stream. The fn function will be called for every chunk in the stream. If the fn function returns a promise - that promise will be
await
ed before being passed to the result stream.