Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Readable stream back-pressure example needed #46791

Closed
vincenzon opened this issue Feb 23, 2023 · 0 comments · Fixed by nodejs/nodejs.org#5066
Closed

Readable stream back-pressure example needed #46791

vincenzon opened this issue Feb 23, 2023 · 0 comments · Fixed by nodejs/nodejs.org#5066
Labels
doc Issues and PRs related to the documentations.

Comments

@vincenzon
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
2 participants