immediateProvider.js 615 B

1234567891011121314
  1. import { Immediate } from '../util/Immediate';
  2. const { setImmediate, clearImmediate } = Immediate;
  3. export const immediateProvider = {
  4. setImmediate(...args) {
  5. const { delegate } = immediateProvider;
  6. return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args);
  7. },
  8. clearImmediate(handle) {
  9. const { delegate } = immediateProvider;
  10. return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);
  11. },
  12. delegate: undefined,
  13. };
  14. //# sourceMappingURL=immediateProvider.js.map