Skip to content

Allow 'data' argument on callback of Transform._flush() #3707

@piranna

Description

@piranna

According to the docs, transform._transform(chunk, encoding, callback) callback accept optionals error and data chunk:

If you supply a second argument to the callback it will be passed to the push method

but the callback of transform._flush(callback) only accept an optional error. According to the code it would be fairly easy to add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.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