zloirock/core-js

Add support for `requestIdleCallback`

Open

#846 opened on Jul 20, 2020

View on GitHub
 (10 comments) (8 reactions) (0 assignees)JavaScript (1,609 forks)batch import
help wantedweb standards

Repository metrics

Stars
 (23,771 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

https://w3c.github.io/requestidlecallback/

Looks like this can mostly be done simply by using setTimeout code, and seems quite simple to polyfill (if I get the time I'll create a PR).

Currently only Safari is missing this entirely.

Contributor guide