requestIdleCallback-polyfill
requestIdleCallback-polyfill copied to clipboard
New version for API compatibility
The current api looks like it implements RIC with a number value for timeRemaining
in the IdleDeadline
. This should be a method returning a number.
https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/timeRemaining