pub fn loop_raf(task: Task)
Runs a callback in a requestAnimationFrame loop until the callback returns false.
requestAnimationFrame
callback
false