Skip to content

Supporting n-ary join #865

Open
Open
@rocallahan

Description

@rocallahan

I want to run N closures in parallel, where each closure returns a value of a different type. join works great for two tasks. I can use join for N tasks by building a tree of binary joins, but that's ugly.

Would it make sense to have a join_all! macro that does an N-ary join, building a linear chain of joins under the hood? Or is there a better way to implement it?

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