spawn_control_plane

Function spawn_control_plane 

Source
pub fn spawn_control_plane(
    addr: SocketAddr,
    portfolio: Arc<Mutex<Portfolio>>,
    orchestrator: Arc<OrderOrchestrator>,
    persisted: Arc<Mutex<LiveState>>,
    last_data_timestamp: Arc<AtomicI64>,
    shutdown: ShutdownSignal,
) -> JoinHandle<()>
Expand description

Launch the Control Plane gRPC server alongside the live runtime.