From 335f405f1b62a2fba1384925d7ef2654839a5e2a 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 995ffe0792236d..81e32f607fac79 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 @@ -2017,7 +2017,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])`