Function glib::source_futures::unix_signal_future_with_priority
source ยท pub fn unix_signal_future_with_priority(
priority: Priority,
signum: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
Expand description
Create a Future
that will resolve once the given UNIX signal is raised
The Future
must be spawned on an Executor
backed by a glib::MainContext
.