Function maelstrom_util::async::await_and_every_sec
source ยท pub async fn await_and_every_sec<RetT>(
fut: impl Future<Output = RetT> + Unpin,
periodic: impl FnMut()
) -> RetT
pub async fn await_and_every_sec<RetT>(
fut: impl Future<Output = RetT> + Unpin,
periodic: impl FnMut()
) -> RetT