aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/operators/timeInterval.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/timeInterval.js')
-rw-r--r--node_modules/rxjs/dist/esm/internal/operators/timeInterval.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/timeInterval.js b/node_modules/rxjs/dist/esm/internal/operators/timeInterval.js
deleted file mode 100644
index 3f93bf7..0000000
--- a/node_modules/rxjs/dist/esm/internal/operators/timeInterval.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import { asyncScheduler } from '../scheduler/async';
-import { operate } from '../util/lift';
-import { createOperatorSubscriber } from './OperatorSubscriber';
-export function timeInterval(scheduler = asyncScheduler) {
- return operate((source, subscriber) => {
- let last = scheduler.now();
- source.subscribe(createOperatorSubscriber(subscriber, (value) => {
- const now = scheduler.now();
- const interval = now - last;
- last = now;
- subscriber.next(new TimeInterval(value, interval));
- }));
- });
-}
-export class TimeInterval {
- constructor(value, interval) {
- this.value = value;
- this.interval = interval;
- }
-}
-//# sourceMappingURL=timeInterval.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage