Skip to content

Commit

Permalink
doc: Update wording in "Two reading modes"
Browse files Browse the repository at this point in the history
  • Loading branch information
julienp committed Jun 29, 2020
1 parent da8a1ef commit 70b6b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,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.
Expand Down

0 comments on commit 70b6b00

Please sign in to comment.