Skip to main content

process_cmd

Function process_cmd 

Source
async fn process_cmd(
    cmd: Option<WorkerCommand>,
    supervisor: &mut SessionPixSupervisor,
    action_tx: &MAsyncTx<Array<SessionPixAction>>,
    gate: &Arc<ServiceGate>,
    telemetry: &Arc<PixSessionTelemetry>,
) -> bool
Expand description

Handle a received command from the handle.

Returns false to signal the worker loop to stop.