pub async fn timer_loop<A, T>( tick: Duration, msg: T, actor: ActorRef<A>, stop_rx: Receiver<bool>, )where A: 'static + Handler<T> + Sync + Send + Actor, T: 'static + Clone + Sync + Send + TimerTick, T::Result: 'static + Sync + Send,