Web platform features explorer

requestAnimationFrame() in workers

Newly available since 2023-03-27
Tags: api Groups: Workers

The requestAnimationFrame() method in workers schedules a function that runs before the next repaint. Together with offscreen canvas, you can animate content from a worker.

Learning resources on MDN

Browser support

Usage (according to Chrome Platform Status)

~0.183% of page loads. More data at chromestatus.

Specifications