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 PR-URL: https://github.com/nodejs/node/pull/35640 Reviewed-By:Rich Trott <rtrott@gmail.com> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
bfc90690
Please register or sign in to comment