[][src]Function glib::interval_stream

pub fn interval_stream(
    value: u32
) -> Pin<Box<dyn Stream<Item = ()> + Send + 'static>>

Create a Stream that will provide a value every given number of milliseconds.

The Future must be spawned on an Executor backed by a glib::MainContext.