async fn discard_worker(state: &AppState, tab_id: &str, def_id: &str)Expand description
Remove a worker whose open failed: the pane the open may have made in
tab_id before failing (closed as any pane is, delete_block), then its
definition, as the deleteagent RPC deletes one.