Skip to main content

run_blocking

Function run_blocking 

Source
pub fn run_blocking()
Expand description

Block the calling thread until a shutdown signal, then drain infrastructure and exit. The usual way to keep a service process alive that serves no requests of its own.