UNPKG

wed

Version:

Wed is a schema-aware editor for XML documents.

40 lines (36 loc) 1.22 kB
define(function(require,exports,module){ /** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */ import * as tslib_1 from "tslib"; import { Subscriber } from './Subscriber'; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var InnerSubscriber = /*@__PURE__*/ (function (_super) { tslib_1.__extends(InnerSubscriber, _super); function InnerSubscriber(parent, outerValue, outerIndex) { var _this = _super.call(this) || this; _this.parent = parent; _this.outerValue = outerValue; _this.outerIndex = outerIndex; _this.index = 0; return _this; } 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)); export { InnerSubscriber }; //# sourceMappingURL=InnerSubscriber.js.map return module.exports; });