NET-Web-API-w-Angular/my-app/node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js

15 lines
No EOL
628 B
JavaScript
Executable file

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