Skip to content

stream: async iterator stop read if destroyed

Fixes some compatibility issues where it is expected that for await stops reading when the stream is destroyed.

Refs: https://github.com/nodejs/node/pull/34887

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading