[−][src]Function git_features::parallel::in_parallel
pub fn in_parallel<I, S, O, R>(
input: impl Iterator<Item = I> + Send,
thread_limit: Option<usize>,
new_thread_state: impl Fn(usize) -> S + Send + Sync,
consume: impl Fn(I, &mut S) -> O + Send + Sync,
reducer: R
) -> Result<<R as Reducer>::Output, <R as Reducer>::Error> where
R: Reducer<Input = O>,
I: Send,
O: Send,