pub fn start_time_ticker() {
        update_time();
        std::thread::spawn(move || loop {
            update_time();
            std::thread::sleep(std::time::Duration::from_millis(1));
        });
    }
/// `start_time_ticker()` starts a background task that caches current timestamp per millisecond,
/// which may provide better performance in high-concurrency scenarios.
`start_time_ticker()` starts a background task that caches current timestamp per millisecond,
which may provide better performance in high-concurrency scenarios.
` start_time_ticker () ` starts a background task that caches current timestamp per millisecond which may provide better performance in high - concurrency scenarios .
pub fn start_time_ticker() {
        update_time();
        std::thread::spawn(move || loop {
            update_time();
            std::thread::sleep(std::time::Duration::from_millis(1));
        });
    }
pub fn start_time_ticker ( ) { update_time ( ) ; std :: thread :: spawn ( move | | loop { update_time ( ) ; std :: thread :: sleep ( std :: time :: Duration :: from_millis ( 1 ) ) ; } ) ; }
`start_time_ticker()` starts a background task that caches current timestamp per millisecond,
which may provide better performance in high-concurrency scenarios.
` start_time_ticker () ` starts a background task that caches current timestamp per millisecond which may provide better performance in high - concurrency scenarios .