frontend/.pnpm-store/v3/files/f9/294e2ef6fd9061a5395039cd61416fed13de2ff9ebab6e8815c88f80539c1b550b3c9891e91d723e22cc47df383e272cbee75baf447b47a91b68d17bfb2fb9

22 lines
653 B
Plaintext

import { Subscriber } from './Subscriber';
export class InnerSubscriber extends Subscriber {
constructor(parent, outerValue, outerIndex) {
super();
this.parent = parent;
this.outerValue = outerValue;
this.outerIndex = outerIndex;
this.index = 0;
}
_next(value) {
this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
}
_error(error) {
this.parent.notifyError(error, this);
this.unsubscribe();
}
_complete() {
this.parent.notifyComplete(this);
this.unsubscribe();
}
}
//# sourceMappingURL=InnerSubscriber.js.map