Function wait_for_signal

Source
pub async fn wait_for_signal()
Expand description

ctrl_c is the cross-platform way to intercept the equivalent of SIGINT This method returns if this occurs