pub fn unix_signal_future( signum: i32) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
Create a Future that will resolve once the given UNIX signal is raised
Future
The Future must be spawned on an Executor backed by a glib::MainContext.
Executor
glib::MainContext