Skip to content

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

@hcburca

Description

@hcburca

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions