From d805d5a894f37d76e6c93016e50d24f1019bdb0c Mon Sep 17 00:00:00 2001 From: Kohei Ueno Date: Wed, 23 Nov 2022 22:34:46 +0900 Subject: [PATCH] doc: clarify changes in readableFlowing PR-URL: https://github.com/nodejs/node/pull/45554 Reviewed-By: Rich Trott Reviewed-By: Daeyeon Jeong Reviewed-By: Yagiz Nizipli --- doc/api/stream.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/stream.md b/doc/api/stream.md index f861a6b467449a..92f77f61a9d28d 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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