wishthis/node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js
2022-04-07 09:06:43 +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