Skip to main content

grace_period

Function grace_period 

Source
pub async fn grace_period(cancel: &Cancel)
Expand description

Wait for cancellation, then give workers a bounded grace period. Used by the CLI so Ctrl+C cannot hang the process (PRD §26).