1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 1342 1 516 1 164 1 27 1 | import {Subscriber} from './Subscriber'; import {InnerSubscriber} from './InnerSubscriber'; export class OuterSubscriber<T, R> extends Subscriber<T> { notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number): void { this.destination.next(innerValue); } notifyError(error: any, innerSub: InnerSubscriber<T, R>): void { this.destination.error(error); } notifyComplete(innerSub: InnerSubscriber<T, R>): void { this.destination.complete(); } } |