pub fn request_animation_frame(callback_id: u32) -> u32Expand description
Schedule a callback for the next animation frame (vsync-aligned repaint).
The host calls your exported on_timer(callback_id) with the provided ID on the
subsequent frame. Returns a request ID usable with cancel_animation_frame.
Call request_animation_frame again from inside the callback to keep animating.