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