stream: allow using `.push()`/`.unshift()` during `once('data')`
Previously, the .push()
or .unshift()
call would just have jumped
straight to emitting a 'data'
event, even if there were no listeners,
effectively just silently dropping the chunk.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines