Skip to main content

ctrl_close

Function ctrl_close 

Source
pub async fn ctrl_close() -> Result<(), Error>
Available on Windows and crate feature signal only.
Expand description

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