[][src]Function web_glitz::task::join5

pub fn join5<A, B, C, D, E, Ec>(
    a: A,
    b: B,
    c: C,
    d: D,
    e: E
) -> Join5<A, B, C, D, E, Ec> where
    A: GpuTask<Ec>,
    B: GpuTask<Ec>,
    C: GpuTask<Ec>,
    D: GpuTask<Ec>,
    E: GpuTask<Ec>, 

Combines task a, b, c, d and e, waiting for all tasks to complete in no particular order.

This returns a new "joined" task. This joined task may progress the its sub-tasks in any order. The joined task will finish when all sub-tasks have finished. When it finishes, it will output a tuple (A, B, C, D, E) where A is this task's output, B is task b's output, C is task c's output, D is task d's output and E is task e's output.

Panics

Panics if the ContextIds a, b, c, d and e are not compatible.