Skip to main content

await_shutdown_signal

Function await_shutdown_signal 

Source
pub async fn await_shutdown_signal()
Expand description

Future that completes when a SIGTERM or SIGINT is received, or immediately if no listener can be registered.