Function relm::interval
[−]
[src]
pub fn interval<F: Fn() -> MSG + 'static, MSG: 'static>(
stream: &EventStream<MSG>,
duration: u32,
constructor: F
)
Emit the msg
every duration
ms.