From 61de26a2f34bde00778c4ae697de05c2ada0dd6f Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava Date: Sat, 6 Jun 2020 11:20:14 +0530 Subject: [PATCH] doc: link readable._read in stream.md Refs: https://github.com/nodejs/node/issues/33715 PR-URL: https://github.com/nodejs/node/pull/33767 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- doc/api/stream.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index e5e8ff88a17c7b..b5b4e2db8a25cc 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -79,7 +79,7 @@ queue until it is consumed. Once the total size of the internal read buffer reaches the threshold specified by `highWaterMark`, the stream will temporarily stop reading data from the underlying resource until the data currently buffered can be consumed (that is, -the stream will stop calling the internal `readable._read()` method that is +the stream will stop calling the internal [`readable._read()`][] method that is used to fill the read buffer). Data is buffered in `Writable` streams when the @@ -2099,7 +2099,7 @@ console.log(w.data); // currency: € The `stream.Readable` class is extended to implement a [`Readable`][] stream. Custom `Readable` streams *must* call the `new stream.Readable([options])` -constructor and implement the `readable._read()` method. +constructor and implement the [`readable._read()`][] method. #### `new stream.Readable([options])`