0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Matteo Collina cf5f9867ff stream: 'readable' have precedence over flowing
In 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: https://github.com/nodejs/node/issues/18058

PR-URL: https://github.com/nodejs/node/pull/18994
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2018-04-06 13:50:15 +02:00
..
_toc.md doc: add introduced_in metadata to _toc.md 2018-03-06 09:18:37 +01:00
addons.md doc: fix various nits 2018-04-04 13:45:39 +03:00
all.md doc: prepare for v8/V8 linting in doc text 2017-11-22 08:24:46 -08:00
assert.md doc: fix added value for assert module 2018-04-04 15:20:59 +02:00
async_hooks.md doc: fix various nits 2018-04-04 13:45:39 +03:00
buffer.md doc: improve prepositions in buffer.md 2018-04-05 19:19:23 -07:00
child_process.md doc: fix various nits 2018-04-04 13:45:39 +03:00
cli.md lib: ensure --check flag works with --require 2018-04-04 17:31:45 -07:00
cluster.md doc: fix various nits 2018-04-04 13:45:39 +03:00
console.md doc: fix various nits 2018-04-04 13:45:39 +03:00
crypto.md crypto: add support for AES-CCM 2018-04-06 13:02:43 +02:00
debugger.md doc: fix various nits 2018-04-04 13:45:39 +03:00
deprecations.md doc: fix various nits 2018-04-04 13:45:39 +03:00
dgram.md doc: fix various nits 2018-04-04 13:45:39 +03:00
dns.md doc: fix various nits 2018-04-04 13:45:39 +03:00
documentation.md doc: replace to Node.js 2018-03-06 00:46:30 +09:00
domain.md doc: fix various nits 2018-04-04 13:45:39 +03:00
errors.md errors: improve SystemError messages 2018-04-05 04:46:26 +08:00
esm.md doc: fix various nits 2018-04-04 13:45:39 +03:00
events.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
fs.md fs: expose copy-on-write flags for fs.copyFile() 2018-04-05 23:11:20 -04:00
globals.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
http2.md doc: fix various nits 2018-04-04 13:45:39 +03:00
http.md doc: fix various nits 2018-04-04 13:45:39 +03:00
https.md doc: fix various nits 2018-04-04 13:45:39 +03:00
index.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
inspector.md doc,tools: formalize, unify, codify default values 2018-04-04 12:30:36 +03:00
intl.md doc: add RegExp Unicode Property Escapes to intl 2018-03-02 02:34:37 +02:00
modules.md doc: fix various nits 2018-04-04 13:45:39 +03:00
n-api.md doc: fix various nits 2018-04-04 13:45:39 +03:00
net.md doc: fix various nits 2018-04-04 13:45:39 +03:00
os.md doc: fix various nits 2018-04-04 13:45:39 +03:00
path.md doc: fix various nits 2018-04-04 13:45:39 +03:00
perf_hooks.md doc,tools: formalize, unify, codify default values 2018-04-04 12:30:36 +03:00
process.md doc: fix various nits 2018-04-04 13:45:39 +03:00
punycode.md doc: remove **Note:** tags 2018-02-08 11:57:14 -05:00
querystring.md doc,tools: formalize, unify, codify default values 2018-04-04 12:30:36 +03:00
readline.md doc: fix various nits 2018-04-04 13:45:39 +03:00
repl.md doc: fix various nits 2018-04-04 13:45:39 +03:00
stream.md stream: 'readable' have precedence over flowing 2018-04-06 13:50:15 +02:00
string_decoder.md doc,tools: formalize, unify, codify default values 2018-04-04 12:30:36 +03:00
synopsis.md doc: be more explicit in the sypnosis 2018-02-07 15:06:14 +01:00
timers.md 2018-03-01, Version 9.7.0 (Current) 2018-03-01 20:47:02 +11:00
tls.md doc: fix various nits 2018-04-04 13:45:39 +03:00
tracing.md perf_hooks,trace_events: emit perf milestone trace events 2018-03-16 10:54:05 -07:00
tty.md doc,tools: formalize, unify, codify default values 2018-04-04 12:30:36 +03:00
url.md doc: fix various nits 2018-04-04 13:45:39 +03:00
util.md doc: fix various nits 2018-04-04 13:45:39 +03:00
v8.md doc: fix various nits 2018-04-04 13:45:39 +03:00
vm.md doc: fix various nits 2018-04-04 13:45:39 +03:00
zlib.md doc: fix various nits 2018-04-04 13:45:39 +03:00