parallel_find

Function parallel_find 

Source
pub fn parallel_find<T, F>(items: &[T], predicate: F) -> Option<T>
where T: Clone + Send + Sync, F: Fn(&T) -> bool + Sync + Send,
Expand description

Find first element that satisfies predicate (parallel with early termination)