Cooperative Scheduling


Updated Jul 11th, 2022

From the linked article: “W3C has released a proposed standard to enable web applications to cooperatively schedule tasks. It is based around the requestIdleCallback function, which allows you to defer tasks into the background. This API can be leveraged to produce fluid animations while doing complex computations behind the scenes.”

Alternative to setTimeout and requestAnimationFrame

See: The scheduler library