pub fn split<D, A, I, O, F, S, R>(
data_rx: Receiver<D>,
ack_tx: Sender<A>,
initialize: I,
fold: O,
finalize: F,
nthreads: usize,
) -> Vec<JoinHandle<R>>
Expand description
Spawns worker threads to process events in parallel.
pub fn split<D, A, I, O, F, S, R>(
data_rx: Receiver<D>,
ack_tx: Sender<A>,
initialize: I,
fold: O,
finalize: F,
nthreads: usize,
) -> Vec<JoinHandle<R>>
Spawns worker threads to process events in parallel.