summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/stream.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index b43f66996b..e1642a013a 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -955,9 +955,8 @@ readable.on('readable', () => {
});
```
-In general, it is recommended that developers avoid the use of the `'readable'`
-event and the `readable.read()` method in favor of using either
-`readable.pipe()` or the `'data'` event.
+Avoid the use of the `'readable'` event and the `readable.read()` method in
+favor of using either `readable.pipe()` or the `'data'` event.
A Readable stream in object mode will always return a single item from
a call to [`readable.read(size)`][stream-read], regardless of the value of the