Skip to main content

parallel_map

Function parallel_map 

Source
pub fn parallel_map<F, T>(items: Vec<T>, f: F) -> Result<Vec<T>>
where F: Fn(T, &ParallelContext) -> Result<T> + Send + Sync, T: Send,
Expand description

Map function across items in parallel