pub fn timer_set( deadline: Duration, callback: Box<dyn FnOnce(Duration) + Send + Sync>)
Set a new timer. After deadline, the callback will be called. TODO: use Instant as the type of deadline.
deadline
callback
Instant