pub fn set_interval(callback_id: u32, interval_ms: u32) -> u32Expand description
Schedule a repeating timer that fires every interval_ms milliseconds.
When it fires the host calls your exported on_timer(callback_id).
Returns a timer ID that can be passed to clear_timer.