mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: clarify changes in readableFlowing
PR-URL: https://github.com/nodejs/node/pull/45554 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
@@ -882,8 +882,10 @@ pass.unpipe(writable);
|
||||
// readableFlowing is now false.
|
||||
|
||||
pass.on('data', (chunk) => { console.log(chunk.toString()); });
|
||||
// readableFlowing is still false.
|
||||
pass.write('ok'); // Will not emit 'data'.
|
||||
pass.resume(); // Must be called to make stream emit 'data'.
|
||||
// readableFlowing is now true.
|
||||
```
|
||||
|
||||
While `readable.readableFlowing` is `false`, data may be accumulating
|
||||
|
||||
Reference in New Issue
Block a user