Skip to content

'continue' event for Readable streams #111

@mscdex

Description

@mscdex

Currently Writables have a 'drain' event that fires when more writes can be done. It would be nice to have something like this for Readables when push() returns false. It's not just a matter of emitting on every call to _read() since _read() can be called when the highWaterMark hasn't been reached yet. It's especially more tricky for Transforms because you'd have to manually override _read() in your subclass, which is not fun.

I propose a 'continue' event for Readables.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions