Affected URL(s)
https://github.com/nodejs/nodejs.org/blob/main/locale/en/docs/guides/backpressuring-in-streams.md#rules-specific-to-readable-streams
Description of the problem
In the back pressure guide, under rules specific to readable streams, two negative examples are given as guidance of what not to do. However, there is not guidance as to what one should do. There are a number of questions on this on SO, as well as numerous blog posts, but these involve other types of streams.
Having a definitive, here is what you should do, example for readable streams would be helpful.
Affected URL(s)
https://github.com/nodejs/nodejs.org/blob/main/locale/en/docs/guides/backpressuring-in-streams.md#rules-specific-to-readable-streams
Description of the problem
In the back pressure guide, under rules specific to readable streams, two negative examples are given as guidance of what not to do. However, there is not guidance as to what one should do. There are a number of questions on this on SO, as well as numerous blog posts, but these involve other types of streams.
Having a definitive, here is what you should do, example for readable streams would be helpful.