pub fn spawn_control_plane(
addr: SocketAddr,
portfolio: Arc<Mutex<Portfolio>>,
orchestrator: Arc<OrderOrchestrator>,
persisted: Arc<Mutex<LiveState>>,
last_data_timestamp: Arc<AtomicI64>,
event_bus: Arc<EventBus>,
shutdown: ShutdownSignal,
) -> JoinHandle<()>Expand description
Launch the Control Plane gRPC server alongside the live runtime.