123456789101112131415 |
- 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
|