From aaba1c08dc08969c75d34827038f91f0cbbe6865 Mon Sep 17 00:00:00 2001 From: Julien Poissonnier Date: Mon, 29 Jun 2020 15:46:04 +0200 Subject: [PATCH] doc: update wording in "Two reading modes" PR-URL: https://github.com/nodejs/node/pull/34119 Reviewed-By: Gireesh Punathil Reviewed-By: Zeyu Yang Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/stream.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 55f1c32f360b3b..dc892178d5bf0d 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -715,8 +715,8 @@ instance, when the `readable.resume()` method is called without a listener attached to the `'data'` event, or when a `'data'` event handler is removed from the stream. -Adding a [`'readable'`][] event handler automatically make the stream to -stop flowing, and the data to be consumed via +Adding a [`'readable'`][] event handler automatically makes the stream +stop flowing, and the data has to be consumed via [`readable.read()`][stream-read]. If the [`'readable'`][] event handler is removed, then the stream will start flowing again if there is a [`'data'`][] event handler.