mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-11 21:31:39 +00:00
update
This commit is contained in:
36
node_modules/rxjs/InnerSubscriber.js
generated
vendored
Normal file
36
node_modules/rxjs/InnerSubscriber.js
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
var Subscriber_1 = require('./Subscriber');
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
var InnerSubscriber = (function (_super) {
|
||||
__extends(InnerSubscriber, _super);
|
||||
function InnerSubscriber(parent, outerValue, outerIndex) {
|
||||
_super.call(this);
|
||||
this.parent = parent;
|
||||
this.outerValue = outerValue;
|
||||
this.outerIndex = outerIndex;
|
||||
this.index = 0;
|
||||
}
|
||||
InnerSubscriber.prototype._next = function (value) {
|
||||
this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
|
||||
};
|
||||
InnerSubscriber.prototype._error = function (error) {
|
||||
this.parent.notifyError(error, this);
|
||||
this.unsubscribe();
|
||||
};
|
||||
InnerSubscriber.prototype._complete = function () {
|
||||
this.parent.notifyComplete(this);
|
||||
this.unsubscribe();
|
||||
};
|
||||
return InnerSubscriber;
|
||||
}(Subscriber_1.Subscriber));
|
||||
exports.InnerSubscriber = InnerSubscriber;
|
||||
//# sourceMappingURL=InnerSubscriber.js.map
|
Reference in New Issue
Block a user