throttleTime.js 413 B

123456789
  1. import { asyncScheduler } from '../scheduler/async';
  2. import { throttle } from './throttle';
  3. import { timer } from '../observable/timer';
  4. export function throttleTime(duration, scheduler, config) {
  5. if (scheduler === void 0) { scheduler = asyncScheduler; }
  6. var duration$ = timer(duration, scheduler);
  7. return throttle(function () { return duration$; }, config);
  8. }
  9. //# sourceMappingURL=throttleTime.js.map