-
-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
Description
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.