source: trip-planner-front/node_modules/rxjs/_esm2015/internal/InnerSubscriber.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 653 bytes
Line 
1import { Subscriber } from './Subscriber';
2export 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
Note: See TracBrowser for help on using the repository browser.