Skip to content

doc,stream: clarify 'data', pipe() and 'readable'

Rodrigo Muino Tomonari requested to merge github/fork/mcollina/fix-11587 into master

We stated that 'data' and pipe() are preferred over 'readable'. This commit clarifies that 'data' and pipe() are easier to understand, but 'readable' might result in increased throughput.

Fixes: https://github.com/nodejs/node/issues/11587

Checklist
Affected core subsystem(s)

doc, stream

Merge request reports

Loading