Skip to main content

restart_worker

Function restart_worker 

Source
async fn restart_worker(
    workspace: &Arc<Workspace>,
    slot: &SessionSlot,
) -> Result<Option<String>, String>
Expand description

Resume one worker through the spawn its boot re-spawn uses: that path ensures the worktree it needs, so a missing one is re-created rather than refused.