frontend/.pnpm-store/v3/files/1f/5ea7ad5cf1c719a2b0d16e2b0c3af23f4a1bbd2542f0909e104005427e538e288eb2a012186e425e583ce6d6e2b2d92a4eec727ea08bbdb9fb76194964630a

8 lines
399 B
Plaintext

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