Request an animation frame to run, with the same features as requestAnimationFrameMM but automatically stops if the user has closed the window.
The token returned may correspond to either an AnimationFrame or a Timeout, so to cancel it, you must use cancelFrame.
Request an animation frame to run, with the same features as requestAnimationFrameMM but automatically stops if the user has closed the window. The token returned may correspond to either an AnimationFrame or a Timeout, so to cancel it, you must use cancelFrame.