Skip to content

Add support for wait(FIRST_COMPLETED) #2108

Closed

Description

@wyegelwel

Concurrent futures wait supports FIRST_COMPLETED, FIRST_EXCEPTION, and ALL_COMPLETED. It appears Dask only supports ALL_COMPLETED at the moment. There are many applications that are much easier to write with the wait(FIRST_COMPLETED) primitive as opposed to other primitives provided.

Activity

  1. mrocklin commented on Sep 6, 2018

    @mrocklin
    Member

    Agreed. This would be a good thing for someone to implement if they have the time. One approach might be to use as_completed to help solve this problem.

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