Function compio_signal::windows::ctrl_c

source ·
pub async fn ctrl_c() -> Result<()>
Available on Windows only.
Expand description

Creates a new listener which receives “ctrl-c” notifications sent to the process.