summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2022-04-05 05:17:03 -0700
committerJuan José Arboleda <soyjuanarbol@gmail.com>2022-04-06 12:25:55 -0500
commit261672b1dad146a0f19d390181a10374499773e2 (patch)
tree2b1b08997ae96585ce36bdbeec03d26cad88078e
parent1f7d2e800cc8c99618313d8bce0912c47aa0e770 (diff)
downloadnode-new-261672b1dad146a0f19d390181a10374499773e2.tar.gz
doc: remove obsolete stream API selection text
PR-URL: https://github.com/nodejs/node/pull/42586 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
-rw-r--r--doc/api/stream.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 09017dd728..555173dfab 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -863,11 +863,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