Function compio_signal::windows::ctrl_close
source · pub async fn ctrl_close() -> Result<()>
Available on Windows only.
Expand description
Creates a new listener which receives “ctrl-close” notifications sent to the process.
pub async fn ctrl_close() -> Result<()>
Creates a new listener which receives “ctrl-close” notifications sent to the process.