node/rxjs/dist/esm5/internal/operators/throttleTime.js
raw| 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 |