pub async fn every<F, Fut>(
interval: Duration,
shutdown: impl Future<Output = ()>,
job: F,
)Expand description
Runs job at once, then again interval after each run ends, until
shutdown completes; a run still going when it does is not awaited.