This is done to match the stream implementation, which also only actually stops reading in the next tick after the `'pause'` event is emitted. PR-URL: https://github.com/nodejs/node/pull/19377 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| esm_loader.js | ||
| next_tick.js | ||
| promises.js | ||
| stdio.js | ||
| warning.js | ||
| write-coverage.js | ||