[−][src]Trait weechat::hooks::TimerCallback
Trait for the timer callback
A blanket implementation for pure FnMut
functions exists, if data needs to
be passed to the callback implement this over your struct.
Required methods
fn callback(&mut self, weechat: &Weechat, remaining_calls: RemainingCalls)
Callback that will be called when the timer fires.
Arguments
-
weechat
- A Weechat context. -
remaining_calls
- How many times the timer will fire.