Skip to content

Promise-friendly stream.pipeline and stream.finished #33582

Closed
@targos

Description

@targos

I often use stream.pipeline in async functions, and it's always a bit painful to have to promisify it.
What about exporting a promisified version from the stream module directly?
I haven't opened an issue or PR before because I don't have a good idea for the name, but maybe somebody else does!

@nodejs/streams

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.promisesIssues and PRs related to ECMAScript promises.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