source: trip-planner-front/node_modules/rxjs/src/internal/OuterSubscriber.ts@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 646 bytes
Line 
1import { Subscriber } from './Subscriber';
2import { InnerSubscriber } from './InnerSubscriber';
3
4/**
5 * We need this JSDoc comment for affecting ESDoc.
6 * @ignore
7 * @extends {Ignored}
8 */
9export class OuterSubscriber<T, R> extends Subscriber<T> {
10 notifyNext(outerValue: T, innerValue: R,
11 outerIndex: number, innerIndex: number,
12 innerSub: InnerSubscriber<T, R>): void {
13 this.destination.next(innerValue);
14 }
15
16 notifyError(error: any, innerSub: InnerSubscriber<T, R>): void {
17 this.destination.error(error);
18 }
19
20 notifyComplete(innerSub: InnerSubscriber<T, R>): void {
21 this.destination.complete();
22 }
23}
Note: See TracBrowser for help on using the repository browser.