[−][src]Function d3_core::executor::connect_with_capacity
pub fn connect_with_capacity<T, P>(
machine: T,
capacity: usize
) -> (Arc<Mutex<T>>, 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,
The connect_with_capacity method creates a machine with a bounded queue of the specified size.