Function glib::timeout_future [−][src]
ⓘImportant traits for Box<R>
pub fn timeout_future(
value: u32
) -> Box<Future<Item = (), Error = Never> + Send>
Create a Future
that will resolve after the given number of milliseconds.
The Future
must be spawned on an Executor
backed by a glib::MainContext
.