Skip to main content

drain_all

Function drain_all 

Source
pub fn drain_all(runtime_dir: &Path) -> Result<Vec<DistillSignal>>
Expand description

Read all lines and atomically truncate the queue to empty. The caller (typically Stop hook) processes the returned signals into the lifecycle ledger.