parseq icon indicating copy to clipboard operation
parseq copied to clipboard

Allow Task.par(Iterable) to fail-fast

Open hcburca opened this issue 2 years ago • 0 comments

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?

hcburca avatar Feb 03 '23 09:02 hcburca