gix_features::parallel

Function join

source
pub fn join<O1: Send, O2: Send>(
    left: impl FnOnce() -> O1 + Send,
    right: impl FnOnce() -> O2 + Send,
) -> (O1, O2)
Available on crate feature parallel only.
Expand description

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