14 lines
615 B
JavaScript
14 lines
615 B
JavaScript
|
import { Immediate } from '../util/Immediate';
|
||
|
const { setImmediate, clearImmediate } = Immediate;
|
||
|
export const immediateProvider = {
|
||
|
setImmediate(...args) {
|
||
|
const { delegate } = immediateProvider;
|
||
|
return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args);
|
||
|
},
|
||
|
clearImmediate(handle) {
|
||
|
const { delegate } = immediateProvider;
|
||
|
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);
|
||
|
},
|
||
|
delegate: undefined,
|
||
|
};
|
||
|
//# sourceMappingURL=immediateProvider.js.map
|