Skip to content

Commit 089a447

Browse files
julienpaddaleax
authored andcommitted
doc: update wording in "Two reading modes"
PR-URL: #34119 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 32ef1b3 commit 089a447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/stream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,8 @@ instance, when the `readable.resume()` method is called without a listener
700700
attached to the `'data'` event, or when a `'data'` event handler is removed
701701
from the stream.
702702

703-
Adding a [`'readable'`][] event handler automatically make the stream to
704-
stop flowing, and the data to be consumed via
703+
Adding a [`'readable'`][] event handler automatically makes the stream
704+
stop flowing, and the data has to be consumed via
705705
[`readable.read()`][stream-read]. If the [`'readable'`][] event handler is
706706
removed, then the stream will start flowing again if there is a
707707
[`'data'`][] event handler.

0 commit comments

Comments
 (0)