| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Fixes some compatibility issues where it is expected that for await stops reading when the stream is destroyed. Refs: nodejs#34887
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
|
|
||
| const iter = Readable.prototype[Symbol.asyncIterator].call(stream); | ||
| await iter.next(); | ||
| await iter.next(); |
There was a problem hiding this comment.
This test was modified in the original PR, this PR helps bring it back to what it was.
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
We are looking at landing a backport on 14.x that includes this change. Can we please fast track this so we can keep 14.x and master in sync |
Sorry, something went wrong.
|
+1 to fast track |
Sorry, something went wrong.
|
test-asan continues to fail here GREEEEEEEN |
Sorry, something went wrong.
Fixes some compatibility issues where it is expected that for await stops reading when the stream is destroyed. Refs: #34887 PR-URL: #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>
includes: * stream: simpler and faster Readable async iterator * stream: don't destroy on async iterator success * stream: async iterator stop read if destroyed PR-URL: #34887 Refs: #34035 Refs: #35122 Refs: #35640 Refs: #34680 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
| Back | FazBrowse Home | New Git URL |
Fixes some compatibility issues where it is expected
that for await stops reading when the stream is
destroyed.
Refs: #34887
Checklist