sampleTime.js 337 B

12345678
  1. import { asyncScheduler } from '../scheduler/async';
  2. import { sample } from './sample';
  3. import { interval } from '../observable/interval';
  4. export function sampleTime(period, scheduler) {
  5. if (scheduler === void 0) { scheduler = asyncScheduler; }
  6. return sample(interval(period, scheduler));
  7. }
  8. //# sourceMappingURL=sampleTime.js.map