-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
No suitable finish event for pipe #17037
Copy link
Copy link
Closed
Labels
questionIssues asking questions about Node.js.Issues asking questions about Node.js.streamIssues and PRs related to Node.js streams.Issues and PRs related to Node.js streams.
Description
Activity
Metadata
Metadata
Assignees
Labels
questionIssues asking questions about Node.js.Issues asking questions about Node.js.streamIssues and PRs related to Node.js streams.Issues and PRs related to Node.js streams.
There is no way to detect that
stream.pipeis finished. There is an eventfinishfor writable streams, but it is unusable for specific usecases (writing toprocess.stdoutorprocess.stderr).And if I understand it correctly,
finishevent is not emitted whenpipeis called with{end: false}. So I can not simply pipe multiple read streams to the single write stream.