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.

Specifications

Browser support

  • Chrome 69 Released on 2018-09-04
  • Chrome Android 69 Released on 2018-09-04
  • Edge 79 Released on 2020-01-15
  • Firefox 99 Released on 2022-04-05
  • Firefox for Android 99 Released on 2022-04-05
  • Safari 16.4 Released on 2023-03-27
  • Safari on iOS 16.4 Released on 2023-03-27

Usage (according to Chrome Platform Status)

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