Skip to main content

replay_drone_run_as

Function replay_drone_run_as 

Source
pub(crate) async fn replay_drone_run_as(
    state: &AppState,
    cmd: ReplayRunReq,
    by: Option<&str>,
) -> Result<ReplayRunResp, String>
Expand description

replaydronerun. by is who the new run’s ledger row says started it, None for the person’s window (the operator); the registered handler takes it from the connection, so an agent’s replay is shown as that agent’s.