Skip to main content

shutdown_signal

Function shutdown_signal 

Source
async fn shutdown_signal()
Expand description

等待 Ctrl-C 或 SIGTERM,触发优雅退出。