Skip to content

Conversation

@ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Mar 3, 2025

Currently, exceptions thrown in IAsyncEnumerable<T> methods are not being correctly propagated to callers, leading to potential hangs.

This PR implements correct handling of exceptions thrown from IAsyncEnumerable<T> methods, propagating the error in-band to the caller and cleaning up the enumerator.

@ReubenBond ReubenBond merged commit 68520f0 into dotnet:main Mar 4, 2025
24 of 26 checks passed
@ReubenBond ReubenBond deleted the iasyncenumerable/fix-exceptions branch March 4, 2025 14:27
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants