node/rxjs/dist/esm5/internal/observable/interval.js
raw| 1 | import { asyncScheduler } from '../scheduler/async'; |
| 2 | import { timer } from './timer'; |
| 3 | export function interval(period, scheduler) { |
| 4 | if (period === void 0) { period = 0; } |
| 5 | if (scheduler === void 0) { scheduler = asyncScheduler; } |
| 6 | if (period < 0) { |
| 7 | period = 0; |
| 8 | } |
| 9 | return timer(period, period, scheduler); |
| 10 | } |
| 11 | //# sourceMappingURL=interval.js.map |