Function glib::interval_stream_seconds_with_priority [−][src]
ⓘImportant traits for Box<R>
pub fn interval_stream_seconds_with_priority(
priority: Priority,
value: u32
) -> Box<Stream<Item = (), Error = Never> + Send>
Create a Stream
that will provide a value every given number of seconds.
The Stream
must be spawned on an Executor
backed by a glib::MainContext
.