-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
stream: pipeline with option end=false doesn't finish #47708
Labels
stream
Issues and PRs related to the stream subsystem.
Comments
debadree25
added a commit
to debadree25/node
that referenced
this issue
Apr 25, 2023
xfournet
changed the title
pipeline with option end=false doesn't finish
stream: pipeline with option end=false doesn't finish
Apr 25, 2023
yjl9903
pushed a commit
to yjl9903/node
that referenced
this issue
Apr 28, 2023
Fixes: nodejs#47708 PR-URL: nodejs#47712 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
yjl9903
pushed a commit
to yjl9903/node
that referenced
this issue
Apr 28, 2023
Fixes: nodejs#47708 PR-URL: nodejs#47712 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
yjl9903
pushed a commit
to yjl9903/node
that referenced
this issue
Apr 29, 2023
Fixes: nodejs#47708 PR-URL: nodejs#47712 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Jul 6, 2023
Fixes: nodejs#47708 PR-URL: nodejs#47712 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Reproduced on 19.9.0 and 20.0.0
Platform
Microsoft Windows NT 10.0.22621.0 x64
Subsystem
No response
What steps will reproduce the bug?
Put this code into a
testPipeline.mjs
fileWith no options, the script terminate without printing the last log, this is the issue.
With the end option (default behavior of pipeline), the script correctly executes:
If the generator is encapsulated into a Readable, it works whatever the end option:
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
The expected behavior is the program to continue after the pipeline terminate
What do you see instead?
Program stops before executing the next line after the pipeline
Additional information
No response
The text was updated successfully, but these errors were encountered: