5 releases (breaking)

0.5.0 Aug 10, 2024
0.4.0 Aug 10, 2024
0.3.0 Aug 9, 2024
0.2.0 Aug 9, 2024
0.1.0 Aug 9, 2024

#9 in #tick

Download history 120/week @ 2024-08-03 200/week @ 2024-08-10 5/week @ 2024-08-17

325 downloads per month

MIT license

3KB
63 lines

example

let tick = Duration::from_millis(50);
let mut tick = TickState::new(tick);
loop {
    tick.try_tick(|| {
        println!("tick per 50ms");
    });
}

No runtime deps