Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions