Function glib::source_futures::interval_stream_seconds

source ยท
pub fn interval_stream_seconds(
    value: u32,
) -> Pin<Box<dyn Stream<Item = ()> + Send + 'static>>
Expand description

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.