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

Allow Task.par(Iterable) to fail-fast #329

Open
hcburca opened this issue Feb 3, 2023 · 0 comments
Open

Allow Task.par(Iterable) to fail-fast #329

hcburca opened this issue Feb 3, 2023 · 0 comments

Comments

@hcburca
Copy link

hcburca commented Feb 3, 2023

Is there any way of failing fast when executing a list of tasks in parallel?

For my use-case I want to cancel all the remaining tasks when one of the tasks in the parallel group fails.
I saw that Task.par(Task, Task, ...) behaves like this.
I wonder if Task.par(Iterable) can support it as well?

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

No branches or pull requests

1 participant