An API which allows posting of tasks which are scheduled during periods when the browser is idle, and are passed a deadline when called which is calculated based on how long the browser expects to remain idle. This enables developers to perform background work on the main event loop, without impacting latency-critical events such as animation and input response.
Specification currently under development in a Working Group
Status in Chromium
Enabled by default
Consensus & Standardization
Search tagsrequestIdleFrame, idle, deadline, background, task, setimmediate,
Last updated on 2020-11-09