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

15 lines
No EOL
628 B
JavaScript

export const intervalProvider = {
setInterval(handler, timeout, ...args) {
const { delegate } = intervalProvider;
if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {
return delegate.setInterval(handler, timeout, ...args);
}
return setInterval(handler, timeout, ...args);
},
clearInterval(handle) {
const { delegate } = intervalProvider;
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);
},
delegate: undefined,
};
//# sourceMappingURL=intervalProvider.js.map