wishthis/node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js
2022-06-08 12:36:39 +02:00

14 lines
No EOL
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