Skip to main content

cancel_race_loser

Function cancel_race_loser 

Source
pub fn cancel_race_loser(
    kernel_state: &mut KernelState,
    kind: Kind,
    step_id: &str,
)
Expand description

When a signal step or its <id>:timeout deadline timer settles, close the other side of the race as cancelled so the reducer only ever sees the winner. Timers are not tasks, so no task update is owed; the loser is pruned like any other terminal step, and a late event for it reports unknown_step.