diff --git a/doc/api/stream.md b/doc/api/stream.md index 3dcd8c34685552..f92a68bc4782e8 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -880,8 +880,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