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

#12 in #tick

Download history 301/week @ 2024-08-05 24/week @ 2024-08-12 11/week @ 2024-09-16 18/week @ 2024-09-30

117 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