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