- Version: 8.7.0
- Platform: linux
- Subsystem: stream
There is no way to detect that stream.pipe is finished. There is an event finish for writable streams, but it is unusable for specific usecases (writing to process.stdout or process.stderr).
And if I understand it correctly, finish event is not emitted when pipe is called with {end: false}. So I can not simply pipe multiple read streams to the single write stream.
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.