Skip to content

doc: clarify stream errors while reading and writing

Errors should be propagated through destroy(err) for readable and callback for writable, anything else is undefined behaviour.

Refs: https://github.com/nodejs/node/issues/29584

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

Merge request reports

Loading