A simple timer. Use it to schedule execution of closures after a delay or at a given timestamp.
# Cargo.toml
[dependencies]
timer = "0.2.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Scheduling a closure to run after a 5-second delay.
Run the timer in a tokio runtime or use the `timer` crate's own event loop
No dependency data recorded yet.