interval.js 284 B

123456789
  1. import { asyncScheduler } from '../scheduler/async';
  2. import { timer } from './timer';
  3. export function interval(period = 0, scheduler = asyncScheduler) {
  4. if (period < 0) {
  5. period = 0;
  6. }
  7. return timer(period, period, scheduler);
  8. }
  9. //# sourceMappingURL=interval.js.map