pub async fn start_timer() {
        task::spawn(async {
            loop {
                time::sleep(Duration::from_millis(942)).await;
                Timer::interval();
            }
        });
    }
// called from main() to start the timer.
called from main() to start the timer.
called from main () to start the timer .
pub async fn start_timer() {
        task::spawn(async {
            loop {
                time::sleep(Duration::from_millis(942)).await;
                Timer::interval();
            }
        });
    }
pub async fn start_timer ( ) { task :: spawn ( async { loop { time :: sleep ( Duration :: from_millis ( 942 ) ) . await ; Timer :: interval ( ) ; } } ) ; }
called from main() to start the timer.
called from main () to start the timer .