stream: support dispose in writable#48547
Merged
nodejs-github-bot merged 2 commits intomainfrom Jun 15, 2024
Merged
Conversation
Collaborator
|
Review requested:
|
f38134b to
63aad0a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
benjamingr
commented
Jun 25, 2023
ronag
reviewed
Jun 25, 2023
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
MoLow
reviewed
Jun 25, 2023
| }); | ||
| let count = 0; | ||
| duplex.on('error', common.mustCall((e) => { | ||
| assert.strictEqual(count++, 0); // Ensure not called twice |
Member
There was a problem hiding this comment.
common.mustCall accepts a count argument: common.mustCall(fn, times)
MoLow
approved these changes
Jun 25, 2023
This was referenced Jun 26, 2023
Collaborator
ronag
reviewed
Jun 27, 2023
This was referenced Jun 28, 2023
Collaborator
This was referenced Jun 30, 2023
23 tasks
Contributor
|
This needs a rebase. |
ronag
approved these changes
May 11, 2024
atlowChemi
reviewed
May 12, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]>
0ec7691 to
271a702
Compare
ronag
approved these changes
Jun 14, 2024
Collaborator
Collaborator
Member
|
@benjamingr as we discussed, moved this PR forward, would you mind taking a look? 🙂 |
Collaborator
|
Landed in 75fe4f3 |
targos
pushed a commit
that referenced
this pull request
Jun 20, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]> PR-URL: #48547 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
eliphazbouye
pushed a commit
to eliphazbouye/node
that referenced
this pull request
Jun 20, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]> PR-URL: nodejs#48547 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
bmeck
pushed a commit
to bmeck/node
that referenced
this pull request
Jun 22, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]> PR-URL: nodejs#48547 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
marco-ippolito
pushed a commit
that referenced
this pull request
Jul 19, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]> PR-URL: #48547 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
marco-ippolito
pushed a commit
that referenced
this pull request
Jul 19, 2024
Add support to Symbol.asyncDispose in writable streams. Additionally add a test for writable, transform and duplex streams who inherit from readable/writable to avoid breakage. Co-authored-by: Robert Nagy <[email protected]> Co-authored-by: atlowChemi <[email protected]> PR-URL: #48547 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Merged
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support to
Symbol.asyncDisposein writable streams. Additionally add a test for writable, transform and duplex streams (that inherit from readable/writable) to avoid breakage.cc @nodejs/streams @MoLow @atlowChemi