From 825193ca5a5e257ad644b35b251fd29912054e0c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 5 Apr 2022 05:17:03 -0700 Subject: [PATCH] doc: remove obsolete stream API selection text PR-URL: https://github.com/nodejs/node/pull/42586 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Matteo Collina Reviewed-By: Robert Nagy Reviewed-By: James M Snell Reviewed-By: Akhil Marsonya --- doc/api/stream.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index b49c5c929e5f7d..68388ca3fa6eb2 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -861,11 +861,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`