Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | /** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
---|
| 2 | import * as tslib_1 from "tslib";
|
---|
| 3 | import { Subscriber } from './Subscriber';
|
---|
| 4 | var InnerSubscriber = /*@__PURE__*/ (function (_super) {
|
---|
| 5 | tslib_1.__extends(InnerSubscriber, _super);
|
---|
| 6 | function InnerSubscriber(parent, outerValue, outerIndex) {
|
---|
| 7 | var _this = _super.call(this) || this;
|
---|
| 8 | _this.parent = parent;
|
---|
| 9 | _this.outerValue = outerValue;
|
---|
| 10 | _this.outerIndex = outerIndex;
|
---|
| 11 | _this.index = 0;
|
---|
| 12 | return _this;
|
---|
| 13 | }
|
---|
| 14 | InnerSubscriber.prototype._next = function (value) {
|
---|
| 15 | this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
|
---|
| 16 | };
|
---|
| 17 | InnerSubscriber.prototype._error = function (error) {
|
---|
| 18 | this.parent.notifyError(error, this);
|
---|
| 19 | this.unsubscribe();
|
---|
| 20 | };
|
---|
| 21 | InnerSubscriber.prototype._complete = function () {
|
---|
| 22 | this.parent.notifyComplete(this);
|
---|
| 23 | this.unsubscribe();
|
---|
| 24 | };
|
---|
| 25 | return InnerSubscriber;
|
---|
| 26 | }(Subscriber));
|
---|
| 27 | export { InnerSubscriber };
|
---|
| 28 | //# sourceMappingURL=InnerSubscriber.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.