diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/throttleTime.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/operators/throttleTime.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/throttleTime.js b/node_modules/rxjs/dist/esm/internal/operators/throttleTime.js new file mode 100644 index 0000000..4398d50 --- /dev/null +++ b/node_modules/rxjs/dist/esm/internal/operators/throttleTime.js @@ -0,0 +1,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
\ No newline at end of file |
