Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streams: use finished for pump #39203

Closed
wants to merge 4 commits into from
Closed

streams: use finished for pump #39203

wants to merge 4 commits into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Jun 30, 2021

Re-use existing compay logic for pump by using finished. Also cleans up logic a bit.

Re-use existing compay logic for pump by using
finished.
@ronag ronag requested a review from mcollina June 30, 2021 08:36
@ronag ronag added the stream Issues and PRs related to the stream subsystem. label Jun 30, 2021
@ronag
Copy link
Member Author

ronag commented Jun 30, 2021

@nodejs/streams

@github-actions github-actions bot added the needs-ci PRs that need a full CI run. label Jun 30, 2021
);

writableLike.emit('close');
}
Copy link
Member Author

Choose a reason for hiding this comment

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

These test are just for very edge case mostly made up compat scenarios and actually do not align with compat as implemented in finished. I just removed them,

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@ronag ronag added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 30, 2021
@nodejs-github-bot
Copy link
Collaborator

@mscdex
Copy link
Contributor

mscdex commented Jun 30, 2021

s/compay/compat/ in commit message?

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@ronag
Copy link
Member Author

ronag commented Jul 2, 2021

Landed in 3203396

@ronag ronag closed this Jul 2, 2021
ronag added a commit that referenced this pull request Jul 2, 2021
Re-use existing compat logic for pump by using
finished.

PR-URL: #39203
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
targos pushed a commit that referenced this pull request Jul 11, 2021
Re-use existing compat logic for pump by using
finished.

PR-URL: #39203
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants