14 lines
No EOL
615 B
JavaScript
Executable file
14 lines
No EOL
615 B
JavaScript
Executable file
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
|