Function glib::timeout_future_seconds_with_priority
source · pub fn timeout_future_seconds_with_priority(
priority: Priority,
value: u32
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
Expand description
Create a Future
that will resolve after the given number of seconds.
The Future
must be spawned on an Executor
backed by a glib::MainContext
.