Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 2 of 2) sorted by relevance

/DragonReach/src/time/timer/ !
H A Dmod.rs11 callback: Box<dyn FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static>, field
23 callback: Box<dyn FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static>, in new()
29 callback: callback, in new()
42 if let Err(_e) = (self.callback)() { in check()
/DragonReach/src/manager/timer_manager/ !
H A Dmod.rs41 pub fn push_timer<F>(duration: Duration, callback: F, parent: usize) in push_timer()
49 .push(Timer::new(duration, Box::new(callback), parent)); in push_timer()