UNPKG

rxjs-compat

Version:

<img src="doc/asset/Rx_Logo_S.png" alt="RxJS Logo" width="86" height="86"> RxJS: Reactive Extensions For JavaScript ======================================

9 lines 456 B
import { asyncScheduler } from 'rxjs'; import { defaultThrottleConfig } from 'rxjs/internal-compatibility'; import { throttleTime as higherOrder } from 'rxjs/operators'; export function throttleTime(duration, scheduler, config) { if (scheduler === void 0) { scheduler = asyncScheduler; } if (config === void 0) { config = defaultThrottleConfig; } return higherOrder(duration, scheduler, config)(this); } //# sourceMappingURL=throttleTime.js.map