throttleTime.js 352 B

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