wishthis/node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js

14 lines
615 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
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