var e="undefined"!=typeof window&&"requestIdleCallback"in window,n=function(n,l){return e?window.requestIdleCallback(n,l):setTimeout(n,1)},l=function(n){e?window.cancelIdleCallback(n):clearTimeout(n)};export{l as cancelIdleWork,n as scheduleIdleWork};
//# sourceMappingURL=idle-callback.js.map
