You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
can we check here for cancelIdleCallback as well ?
e.g.: const supportsRequestIdleCallback_ = typeof requestIdleCallback === 'function' && typeof cancelIdleCallback === "function";
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
is there any reason to avoid for
cancelIdleCallback
checking here:https://github.com/GoogleChromeLabs/idlize/blob/master/idle-callback-polyfills.mjs#L80
it creates problems when a page has
requestIdleCallback
but might not havecancelIdleCallback
functioncan we check here for
cancelIdleCallback
as well ?e.g.:
const supportsRequestIdleCallback_ = typeof requestIdleCallback === 'function' && typeof cancelIdleCallback === "function";
The text was updated successfully, but these errors were encountered: