File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2254,10 +2254,12 @@ All `Readable` stream implementations must provide an implementation of the
2254
2254
2255
2255
When [ ` readable._read() ` ] [ ] is called, if data is available from the resource,
2256
2256
the implementation should begin pushing that data into the read queue using the
2257
- [ ` this.push(dataChunk) ` ] [ stream-push ] method. ` _read() ` should continue reading
2258
- from the resource and pushing data until ` readable.push() ` returns ` false ` . Only
2259
- when ` _read() ` is called again after it has stopped should it resume pushing
2260
- additional data onto the queue.
2257
+ [ ` this.push(dataChunk) ` ] [ stream-push ] method. ` _read() ` will be called again
2258
+ after each call to [ ` this.push(dataChunk) ` ] [ stream-push ] once the stream is
2259
+ ready to accept more data. ` _read() ` may continue reading from the resource and
2260
+ pushing data until ` readable.push() ` returns ` false ` . Only when ` _read() ` is
2261
+ called again after it has stopped should it resume pushing additional data into
2262
+ the queue.
2261
2263
2262
2264
Once the [ ` readable._read() ` ] [ ] method has been called, it will not be called
2263
2265
again until more data is pushed through the [ ` readable.push() ` ] [ stream-push ]
You can’t perform that action at this time.
0 commit comments