Skip to content

Commit

Permalink
doc: remove obsolete stream API selection text
Browse files Browse the repository at this point in the history
PR-URL: #42586
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Robert Nagy <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
  • Loading branch information
Trott authored and juanarbol committed May 31, 2022
1 parent 59edb3e commit 071d34a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -873,11 +873,6 @@ to consume data from a single stream. Specifically, using a combination
of `on('data')`, `on('readable')`, `pipe()`, or async iterators could
lead to unintuitive behavior.

`readable.pipe()` provides the easiest way to consume stream data. Developers
that require more fine-grained control over the transfer and generation of data
can use the [`EventEmitter`][] and `readable.on('readable')`/`readable.read()`
or the `readable.pause()`/`readable.resume()` APIs.

#### Class: `stream.Readable`

<!-- YAML
Expand Down

0 comments on commit 071d34a

Please sign in to comment.