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
117 downloads per month
3KB
63 lines
example
let tick = Duration::from_millis(50);
let mut tick = TickState::new(tick);
loop {
tick.try_tick(|| {
println!("tick per 50ms");
});
}