You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ReadStream paused and can't resume, when listened readable event #22032
If both 'readable' and 'data' are used at the same time, 'readable' takes precedence in controlling the flow, i.e. 'data' will be emitted only when stream.read() is called.
Therefore your stream will not be switched to 'flowing' state for you to receive all data in data event if the stream has at least one readable listener. This is somewhat recent change in #18994.
Activity
lundibundi commentedon Jul 30, 2018
That's by design.
Readable doc
Therefore your stream will not be switched to 'flowing' state for you to receive all data in
dataevent if the stream has at least onereadablelistener. This is somewhat recent change in #18994.Also there is #21696 if it's accepted.
a0000778 commentedon Jul 30, 2018
I missed this change, thank you.