[go: up one dir, main page]

Function join

Source
pub fn join<O1, O2>(
    left: impl FnOnce() -> O1 + Send,
    right: impl FnOnce() -> O2 + Send,
) -> (O1, O2)
where O1: Send, O2: Send,
Expand description

Runs left and right in parallel, returning their output when both are done.