Function wait_for_signal

Source
pub async fn wait_for_signal()
Expand description

On unix platforms we want to intercept SIGINT and SIGTERM This method returns if either are signalled