pub fn interval(period: Duration) -> Interval
Build a periodic ticker firing every period — the seam replacement for tokio::time::interval.
period
tokio::time::interval