Skip to main content

interval

Function interval 

Source
pub fn interval<F, FUT>(
    name: &str,
    freq_ms: u32,
    immediate: bool,
    callback: F,
) -> PinBoxFutureStatic<()>
where F: Fn() -> FUT + Send + Sync + 'static, FUT: Future<Output = ()> + Send,