some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / operators / exhaust.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/exhaust.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/exhaust.js
deleted file mode 100644 (file)
index fd0fb08..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
-export function exhaust() {
-    return (source) => source.lift(new SwitchFirstOperator());
-}
-class SwitchFirstOperator {
-    call(subscriber, source) {
-        return source.subscribe(new SwitchFirstSubscriber(subscriber));
-    }
-}
-class SwitchFirstSubscriber extends SimpleOuterSubscriber {
-    constructor(destination) {
-        super(destination);
-        this.hasCompleted = false;
-        this.hasSubscription = false;
-    }
-    _next(value) {
-        if (!this.hasSubscription) {
-            this.hasSubscription = true;
-            this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));
-        }
-    }
-    _complete() {
-        this.hasCompleted = true;
-        if (!this.hasSubscription) {
-            this.destination.complete();
-        }
-    }
-    notifyComplete() {
-        this.hasSubscription = false;
-        if (this.hasCompleted) {
-            this.destination.complete();
-        }
-    }
-}
-//# sourceMappingURL=exhaust.js.map
\ No newline at end of file