Code coverage report for src/OuterSubscriber.ts

Statements: 100% (11 / 11)      Branches: 100% (0 / 0)      Functions: 100% (4 / 4)      Lines: 100% (9 / 9)      Ignored: none     

All files » src/ » OuterSubscriber.ts
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);
  }
}