OuterSubscriber.js 866 B

123456789101112131415161718192021
  1. /** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
  2. import * as tslib_1 from "tslib";
  3. import { Subscriber } from './Subscriber';
  4. var OuterSubscriber = /*@__PURE__*/ (function (_super) {
  5. tslib_1.__extends(OuterSubscriber, _super);
  6. function OuterSubscriber() {
  7. return _super !== null && _super.apply(this, arguments) || this;
  8. }
  9. OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
  10. this.destination.next(innerValue);
  11. };
  12. OuterSubscriber.prototype.notifyError = function (error, innerSub) {
  13. this.destination.error(error);
  14. };
  15. OuterSubscriber.prototype.notifyComplete = function (innerSub) {
  16. this.destination.complete();
  17. };
  18. return OuterSubscriber;
  19. }(Subscriber));
  20. export { OuterSubscriber };
  21. //# sourceMappingURL=OuterSubscriber.js.map