Skip to main content

kill_per_state

Function kill_per_state 

Source
pub async fn kill_per_state(
    ctx: &Context,
    scope: SetScope,
    key: &'static str,
) -> Result<usize, Error>
Expand description

Kill the per-state lockfile owners for key across the scope: --state hits only the current OBJECTIVEAI_STATE; --global fans out across every <dir>/state/<name>/locks concurrently and sums the kills.