[][src]Function web_glitz::task::join

pub fn join<A, B, Ec>(a: A, b: B) -> Join<A, B, Ec> where
    A: GpuTask<Ec>,
    B: GpuTask<Ec>, 

Combines task a with another task b, waiting for both 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 both sub-tasks have finished. When it finishes, it will output a tuple (A, B) where A is this task's output and B is task b's output.

Panics

Panics if the ContextIds of a and b are not compatible.