frontend/.pnpm-store/v3/files/5e/e9cad17721d5775fab03acab5582ec82064a6688a429e4608a6b07e4ce52bc42d7886b86a709d160c265247420b3b259bd735578b2c48cd8740965a752e145

10 lines
499 B
Plaintext

import { asyncScheduler } from '../scheduler/async';
import { defaultThrottleConfig, throttle } from './throttle';
import { timer } from '../observable/timer';
export function throttleTime(duration, scheduler, config) {
if (scheduler === void 0) { scheduler = asyncScheduler; }
if (config === void 0) { config = defaultThrottleConfig; }
var duration$ = timer(duration, scheduler);
return throttle(function () { return duration$; }, config);
}
//# sourceMappingURL=throttleTime.js.map