Skip to content

No suitable finish event for pipe #17037

@polomsky

Description

@polomsky
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.streamIssues and PRs related to the stream subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions