[−][src]Function d3_core::executor::connect
pub fn connect<T, P>(
machine: T
) -> (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 method creates a machine, implementing an instruction set. The machine has a bound communication channel of a default size receiving those instructions.