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

doc: fix unsafe writable stream code examples by ckarande · Pull Request #29425 · nodejs/node · GitHub

/ node Public

doc: fix unsafe writable stream code examples - #29425

Closed
ckarande wants to merge 2 commits into
nodejs:masterfrom
ckarande:stream-doc-updates-using-finished
Closed

doc: fix unsafe writable stream code examples#29425
ckarande wants to merge 2 commits into
nodejs:masterfrom
ckarande:stream-doc-updates-using-finished

Conversation

ckarande commented Sep 3, 2019

Copy link
Copy Markdown
Contributor

Update writable stream code examples using async iterator to use safer
finished() method instead of the finish event to avoid uncaught
errors

Fixes: #29397

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Update writable stream code example using async iterator to use safer
`finished()` method instead of a `finish` event to avoid uncaught
exceptions

Fixes: nodejs#29397
nodejs-github-bot added doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem. labels Sep 3, 2019
Comment thread doc/api/stream.md Outdated

Trott commented Sep 6, 2019

Copy link
Copy Markdown
Member

@nodejs/streams

Trott commented Sep 6, 2019

Copy link
Copy Markdown
Member

Trott pushed a commit that referenced this pull request Sep 6, 2019
Update writable stream code example using async iterator to use safer
`finished()` method instead of a `finish` event to avoid uncaught
exceptions

Fixes: #29397

PR-URL: #29425
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>

Trott commented Sep 6, 2019

Copy link
Copy Markdown
Member

Landed in 02f3dd2

Trott closed this Sep 6, 2019
targos pushed a commit that referenced this pull request Sep 20, 2019
Update writable stream code example using async iterator to use safer
`finished()` method instead of a `finish` event to avoid uncaught
exceptions

Fixes: #29397

PR-URL: #29425
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
BridgeAR mentioned this pull request Sep 24, 2019
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.

doc: AsyncGenerator + Writable + unhandled exception

7 participants


Back | FazBrowse Home | New Git URL