Skip to content

Conversation

ckarande
Copy link
Contributor

@ckarande ckarande commented Sep 3, 2019

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 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
@Trott
Copy link
Member

Trott commented Sep 6, 2019

@nodejs/streams

@Trott
Copy link
Member

Trott commented Sep 6, 2019

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
Copy link
Member

Trott commented Sep 6, 2019

Landed in 02f3dd2

@Trott 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 BridgeAR mentioned this pull request Sep 24, 2019
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