FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: piping from async generators using pipeline() by WilliamConnatser · Pull Request #33992 · nodejs/node · GitHub

/ node Public

doc: piping from async generators using pipeline() - #33992

Closed
WilliamConnatser wants to merge 1 commit into
nodejs:masterfrom
WilliamConnatser:master
Closed

doc: piping from async generators using pipeline()#33992
WilliamConnatser wants to merge 1 commit into
nodejs:masterfrom
WilliamConnatser:master

Conversation

Copy link
Copy Markdown
Contributor

This will be my first contribution, so please let me know if I did something wrong. Thank you!

This PR is an attempt to implement #33644

Although the issue asked I remove the old snippet, after thinking about it more I decided to keep the manual way of handling backpressure and backpressure-related errors in the docs.

Firstly, I think there may be some use case case for having to handle this manually. Secondly, having the manual way to handle this will be useful for anyone looking to gain insight as to how things work under the hood of pipeline().

I did mention pipeline() first and its benefits (that it abstracts the backpressure handling away), so I thought it was a sufficient compromise but I can remove it if ya'll think otherwise.

Checklist

nodejs-github-bot added doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem. labels Jun 20, 2020
WilliamConnatser force-pushed the master branch 2 times, most recently from 43d87e5 to d67ecbf Compare June 20, 2020 18:44

addaleax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@nodejs/streams

Comment thread doc/api/stream.md Outdated
Comment thread doc/api/stream.md Outdated
Comment thread doc/api/stream.md Outdated

ronag commented Jun 21, 2020

Copy link
Copy Markdown
Member

Maybe this should wait for #33991?

Copy link
Copy Markdown
Member

I think we might want to iterate on that a bit more, so if this is ready we should land.

Copy link
Copy Markdown
Contributor Author

Thank ya'll for your feedback. I have implemented all edits which were suggested in review.

Let me know if anyone has any more suggestions.

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

Copy link
Copy Markdown
Member

mcollina pushed a commit that referenced this pull request Jun 22, 2020
PR-URL: #33992
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

Copy link
Copy Markdown
Member

Landed in bfc0e3f

mcollina closed this Jun 22, 2020
codebytere pushed a commit that referenced this pull request Jun 27, 2020
PR-URL: #33992
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere mentioned this pull request Jun 28, 2020
codebytere pushed a commit that referenced this pull request Jun 30, 2020
PR-URL: #33992
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants


Back | FazBrowse Home | New Git URL