Function batch_system::create_system [−][src]
pub fn create_system<N: Fsm, C: Fsm>(
cfg: &Config,
sender: LooseBoundedSender<C::Message>,
controller: Box<C>
) -> (BatchRouter<N, C>, BatchSystem<N, C>)
Create a batch system with the given thread name prefix and pool size.
sender
and controller
should be paired.