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,