Skip to main content

spawn_watch

Function spawn_watch 

Source
pub fn spawn_watch(
    token: CancellationToken,
    repair: impl Fn(&str, &str, &Wedge) + Send + Sync + 'static,
)
Expand description

Look for quiet MCP processes every [WATCH_EVERY], and hand each to repair(block, process, why). A watcher that finds the machine was asleep (its own tick came late) skips the round and gives every pane a fresh start: the MCP’s beats are late for the same reason.