w3c / requestidlecallback

Cooperative Scheduling of Background Tasks
https://w3c.github.io/requestidlecallback/
Other
50 stars 19 forks source link

Hook into HTML spec. #75

Closed rmcilroy closed 5 years ago

rmcilroy commented 5 years ago

Makes the "start an idle period" algorithm callable by the HTML event loop processing model, instead of having this spec spin the event loop.

Addresses #70

rmcilroy commented 5 years ago

Looks like https://github.com/whatwg/html/pull/4104/ is good to go, so I'll merge this PR in preparation for landing that.