diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js b/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js new file mode 100644 index 0000000..95b0a39 --- /dev/null +++ b/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js @@ -0,0 +1,9 @@ +import { asyncScheduler } from '../scheduler/async'; +import { throttle } from './throttle'; +import { timer } from '../observable/timer'; +export function throttleTime(duration, scheduler, config) { + if (scheduler === void 0) { scheduler = asyncScheduler; } + var duration$ = timer(duration, scheduler); + return throttle(function () { return duration$; }, config); +} +//# sourceMappingURL=throttleTime.js.map
\ No newline at end of file |
