Skip to content

Conversation

@WilliamConnatser
Copy link
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-botnodejs-github-bot added doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem. labels Jun 20, 2020
@WilliamConnatserWilliamConnatserforce-pushed the master branch 2 times, most recently from 43d87e5 to d67ecbfCompareJune 20, 2020 18:44
Copy link
Member

@addaleaxaddaleax left a comment

Choose a reason for hiding this comment

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

@nodejs/streams

@ronag
Copy link
Member

Maybe this should wait for #33991?

@mcollina
Copy link
Member

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

@WilliamConnatser
Copy link
ContributorAuthor

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.

Copy link
Member

@mcollinamcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina
Copy link
Member

mcollina pushed a commit that referenced this pull request Jun 22, 2020
PR-URL: #33992 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
@mcollina
Copy link
Member

Landed in bfc0e3f

codebytere pushed a commit that referenced this pull request Jun 27, 2020
PR-URL: #33992 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
@codebyterecodebytere 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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@WilliamConnatser@ronag@mcollina@jasnell@Trott@addaleax@lpinca@trivikr@nodejs-github-bot