Skip to main content

par_execute

Function par_execute 

Source
pub fn par_execute<T: Send>(tasks: Vec<Box<dyn FnOnce() -> T + Send>>) -> Vec<T>
Expand description

Execute tasks in parallel using scoped threads. All branches run to completion (complete mode).