import { Subscriber } from './Subscriber'; import { InnerSubscriber } from './InnerSubscriber'; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ export class OuterSubscriber extends Subscriber { notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber): void { this.destination.next(innerValue); } notifyError(error: any, innerSub: InnerSubscriber): void { this.destination.error(error); } notifyComplete(innerSub: InnerSubscriber): void { this.destination.complete(); } }