From 089a4479a45af21264f2990e7ac94b5faf6de5dd 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 d7c8ebc266bd86..6f400b51eba058 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -700,8 +700,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.