Real-Time Web with Node.js Real-Time Web with Node.js

requestAnimationFrame

The requestAnimationFrame API allows developers to ask the browser to make visual updates at the most optimal time. This is often used for animating objects but could apply for any visual update that's supposed to occur periodically.
Get Unlimited Access Now