mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 13:41:40 +00:00
update
This commit is contained in:
27
node_modules/rxjs/_esm2015/InnerSubscriber.js
generated
vendored
Normal file
27
node_modules/rxjs/_esm2015/InnerSubscriber.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
import { Subscriber } from './Subscriber';
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
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
|
Reference in New Issue
Block a user