pub async fn shutdown_signal()Expand description
Graceful shutdown helper.
Returns a future that completes when a SIGTERM or SIGINT is received.
Use with tokio::select! to implement graceful shutdown.
pub async fn shutdown_signal()Graceful shutdown helper.
Returns a future that completes when a SIGTERM or SIGINT is received.
Use with tokio::select! to implement graceful shutdown.