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.
pub fn drain_all(runtime_dir: &Path) -> Result<Vec<DistillSignal>>Read all lines and atomically truncate the queue to empty. The caller (typically Stop hook) processes the returned signals into the lifecycle ledger.