Skip to content

Commit aaba1c0

Browse files
julienpMylesBorins
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 6aa0dac commit aaba1c0

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
@@ -715,8 +715,8 @@ instance, when the `readable.resume()` method is called without a listener
715715
attached to the `'data'` event, or when a `'data'` event handler is removed
716716
from the stream.
717717

718-
Adding a [`'readable'`][] event handler automatically make the stream to
719-
stop flowing, and the data to be consumed via
718+
Adding a [`'readable'`][] event handler automatically makes the stream
719+
stop flowing, and the data has to be consumed via
720720
[`readable.read()`][stream-read]. If the [`'readable'`][] event handler is
721721
removed, then the stream will start flowing again if there is a
722722
[`'data'`][] event handler.

0 commit comments

Comments
 (0)