| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Keep the existing consumer cancellation side effects, but reject the iterator.throw() call with the supplied error instead of resolving with done: true. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
|
Review requested:
|
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #64380 +/- ##
=======================================
Coverage 90.23% 90.24%
=======================================
Files 741 741
Lines 241194 241194
Branches 45432 45431 -1
=======================================
+ Hits 217640 217663 +23
+ Misses 15129 15089 -40
- Partials 8425 8442 +17
... and 36 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
Keep the existing consumer cancellation side effects, but reject the iterator.throw() call with the supplied error instead of resolving with done: true. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #64380 Fixes: #64378 Reviewed-By: James M Snell <jasnell@gmail.com>
Keep the existing consumer cancellation side effects, but reject the iterator.throw() call with the supplied error instead of resolving with done: true. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #64380 Fixes: #64378 Reviewed-By: James M Snell <jasnell@gmail.com>
Keep the existing consumer cancellation side effects, but reject the iterator.throw() call with the supplied error instead of resolving with done: true. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #64380 Fixes: #64378 Reviewed-By: James M Snell <jasnell@gmail.com>
Keep the existing consumer cancellation side effects, but reject the iterator.throw() call with the supplied error instead of resolving with done: true. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #64380 Fixes: #64378 Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
Fixes: #64378
This updates stream/iter push readable iterators so
iterator.throw(error) rejects with the supplied error instead of
resolving with { done: true, value: undefined }.
The existing cancellation behavior is preserved: pending reads, writes,
and drain waiters still observe the consumer error.
Assisted-by: openai:gpt-5.5