Skip to content

Fix async generator rejection handling #24078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2018
Merged

Fix async generator rejection handling #24078

merged 1 commit into from
May 14, 2018

Conversation

rbuckton
Copy link
Contributor

@rbuckton rbuckton commented May 12, 2018

This PR updates __asyncValues to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator to ensure throw is correctly propagated.

Similar changes will also need to be made to tslib in a separate PR.

Fixes #24014

@rbuckton rbuckton merged commit dd520f9 into master May 14, 2018
@rbuckton rbuckton deleted the fix24014 branch May 14, 2018 16:24
@falsandtru
Copy link
Contributor

Thanks!

@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
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.

3 participants