Skip to content

doc: make sure that calls to .read() are looped

The 'readable' event assumes that calls to readable.read() happens within that event handler until readable.read() returns null.

Fixes: https://github.com/nodejs/node/issues/20503

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading