Skip to main content

Module shutdown

Module shutdown 

Source

Functionsยง

shutdown_signal
Waits for SIGINT (Ctrl+C) or SIGTERM, whichever comes first. Pass to axum::serve(..).with_graceful_shutdown(shutdown_signal()).