pub async fn run_control_loop(
state: RuntimeControlState,
receiver: Receiver<RuntimeLoopMessage>,
event_sender: Sender<String>,
) -> RuntimeExitReportExpand description
Runs the control loop until all command senders are dropped.
§Arguments
state: Runtime state initialized from the supervisor specification.receiver: Runtime command receiver.event_sender: Event channel used for audit text.
§Returns
Returns a RuntimeExitReport when the control loop ends.