UNPKG

next

Version:

The React Framework

2 lines 408 B
"use strict";exports.__esModule=true;exports.default=void 0;const requestIdleCallback=typeof self!=='undefined'&&self.requestIdleCallback||function(cb){let start=Date.now();return setTimeout(function(){cb({didTimeout:false,timeRemaining:function(){return Math.max(0,50-(Date.now()-start));}});},1);};var _default=requestIdleCallback;exports.default=_default; //# sourceMappingURL=request-idle-callback.js.map