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