Skip to main content

peek_interrupt

Function peek_interrupt 

Source
pub fn peek_interrupt(paths: &MissionPaths) -> Result<bool>
Expand description

True if any queued file AUTHENTICATES to Msg { interrupt: true }.

Non-destructive: nothing is consumed, deleted, or renamed — the engine’s run-watcher polls this cheaply while a later drain still returns the message itself. Signature checking belongs here too, not only in drain: an unsigned file that aborted the active run would be a denial of service on every mission, delivered by the same one-file write.