stream: 'readable' have precedence over flowing by mcollina · Pull Request #18994 · nodejs/node
Trott
removed
the
tsc-agenda
label
Apr 4, 2018In Streams3 the 'readable' event/.read() method had a lower precedence than the `'data'` event that made them impossible to use them together. This make `.resume()` a no-op if there is a listener for the `'readable'` event, making the stream non-flowing if there is a `'data'` listener. Fixes: nodejs#18058
mcollina added a commit that referenced this pull request
Apr 6, 2018In Streams3 the 'readable' event/.read() method had a lower precedence than the `'data'` event that made them impossible to use them together. This make `.resume()` a no-op if there is a listener for the `'readable'` event, making the stream non-flowing if there is a `'data'` listener. Fixes: #18058 PR-URL: #18994 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This was referenced
Apr 11, 2018schnittstabil added a commit to schnittstabil/cp-file that referenced this pull request
May 11, 2018sindresorhus pushed a commit to sindresorhus/copy-file that referenced this pull request
May 12, 2018This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters