pub fn interval(period: Duration) -> Interval
Create a recurring interval timer that ticks every period.
period
tokio::time::interval
gloo_timers