pub fn create_plugin_runtime<P: NDPluginProcess>(
port_name: &str,
processor: P,
pool: Arc<NDArrayPool>,
queue_size: usize,
ndarray_port: &str,
wiring: Arc<WiringRegistry>,
) -> (PluginRuntimeHandle, JoinHandle<()>)Expand description
Create a plugin runtime with control plane (PortActor) and data plane (processing thread).
Returns:
PluginRuntimeHandlefor wiring and controlPortRuntimeHandlefor param I/OJoinHandlefor the data processing thread