Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / InnerSubscriber.js
1 import { Subscriber } from './Subscriber';
2 export class InnerSubscriber extends Subscriber {
3     constructor(parent, outerValue, outerIndex) {
4         super();
5         this.parent = parent;
6         this.outerValue = outerValue;
7         this.outerIndex = outerIndex;
8         this.index = 0;
9     }
10     _next(value) {
11         this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
12     }
13     _error(error) {
14         this.parent.notifyError(error, this);
15         this.unsubscribe();
16     }
17     _complete() {
18         this.parent.notifyComplete(this);
19         this.unsubscribe();
20     }
21 }
22 //# sourceMappingURL=InnerSubscriber.js.map