timer

Macro timer 

Source
macro_rules! timer {
    ($callback:expr, $period_ms:expr, $one_shot:expr) => { ... };
}
Expand description

Create a Timer that works in both heap and zero-heap modes.

§Example

let t = ove::timer!(my_callback, 100, false);