Skip to main content

wait_for_termination_signal

Function wait_for_termination_signal 

Source
pub(crate) async fn wait_for_termination_signal() -> bool
Expand description

Wait for SIGINT or SIGTERM; false if a handler couldn’t be installed.