and_connect_with_capacity

Function and_connect_with_capacity 

Source
pub fn and_connect_with_capacity<T, P>(
    machine: &Arc<Mutex<T>>,
    capacity: usize,
) -> Sender<<<P as MachineImpl>::Adapter as MachineBuilder>::InstructionSet>
where T: 'static + Machine<P> + Machine<<<P as MachineImpl>::Adapter as MachineBuilder>::InstructionSet>, P: MachineImpl, <P as MachineImpl>::Adapter: MachineBuilder,
Expand description

The and_connect_with_capacity method adds an additional instruction set and sender to the machine. The communication channel is bound to the specified size.