Skip to main content

install_shutdown_handler

Function install_shutdown_handler 

Source
pub fn install_shutdown_handler(
    shutdown_tx: Sender<()>,
) -> Result<JoinHandle<()>>
Expand description

Installs SIGINT/SIGTERM handling on a dedicated forwarding thread.