Skip to content
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

Add test for when_all throwing on individual tasks. #281

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

jbaldwin
Copy link
Owner

@jbaldwin jbaldwin commented Nov 3, 2024

The original behavior for coro::when_all was to capture the T result or an exception and then when the user iterates all of the completed tasks the task.return_value() would either return the result or re-throw the exception for that specific task.

The original behavior for coro::when_all was to capture the T result or
an exception and then when the user iterates all of the completed tasks
the task.return_value() would either return the result or re-throw the
exception for that specific task.
@jbaldwin jbaldwin merged commit 86740cc into main Nov 15, 2024
41 checks passed
@jbaldwin jbaldwin deleted the when_all_throws_test branch November 15, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option for wait_all to propagate exceptions eagarly
1 participant