Function relm::interval[][src]

pub fn interval<F: Fn() -> MSG + 'static, MSG: 'static>(
    stream: &StreamHandle<MSG>,
    duration: u32,
    constructor: F
)

Emit the msg every duration ms.