source: trip-planner-front/node_modules/rxjs/internal/observable/race.d.ts@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 2.5 KB
Line 
1import { Observable } from '../Observable';
2import { Operator } from '../Operator';
3import { Subscriber } from '../Subscriber';
4import { TeardownLogic, ObservableInput } from '../types';
5import { OuterSubscriber } from '../OuterSubscriber';
6export declare function race<A>(arg: [ObservableInput<A>]): Observable<A>;
7export declare function race<A, B>(arg: [ObservableInput<A>, ObservableInput<B>]): Observable<A | B>;
8export declare function race<A, B, C>(arg: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>]): Observable<A | B | C>;
9export declare function race<A, B, C, D>(arg: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>]): Observable<A | B | C | D>;
10export declare function race<A, B, C, D, E>(arg: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>, ObservableInput<E>]): Observable<A | B | C | D | E>;
11export declare function race<T>(arg: ObservableInput<T>[]): Observable<T>;
12export declare function race(arg: ObservableInput<any>[]): Observable<{}>;
13export declare function race<A>(a: ObservableInput<A>): Observable<A>;
14export declare function race<A, B>(a: ObservableInput<A>, b: ObservableInput<B>): Observable<A | B>;
15export declare function race<A, B, C>(a: ObservableInput<A>, b: ObservableInput<B>, c: ObservableInput<C>): Observable<A | B | C>;
16export declare function race<A, B, C, D>(a: ObservableInput<A>, b: ObservableInput<B>, c: ObservableInput<C>, d: ObservableInput<D>): Observable<A | B | C | D>;
17export declare function race<A, B, C, D, E>(a: ObservableInput<A>, b: ObservableInput<B>, c: ObservableInput<C>, d: ObservableInput<D>, e: ObservableInput<E>): Observable<A | B | C | D | E>;
18export declare function race<T>(observables: ObservableInput<T>[]): Observable<T>;
19export declare function race(observables: ObservableInput<any>[]): Observable<{}>;
20export declare function race<T>(...observables: ObservableInput<T>[]): Observable<T>;
21export declare function race(...observables: ObservableInput<any>[]): Observable<{}>;
22export declare class RaceOperator<T> implements Operator<T, T> {
23 call(subscriber: Subscriber<T>, source: any): TeardownLogic;
24}
25/**
26 * We need this JSDoc comment for affecting ESDoc.
27 * @ignore
28 * @extends {Ignored}
29 */
30export declare class RaceSubscriber<T> extends OuterSubscriber<T, T> {
31 private hasFirst;
32 private observables;
33 private subscriptions;
34 constructor(destination: Subscriber<T>);
35 protected _next(observable: any): void;
36 protected _complete(): void;
37 notifyNext(_outerValue: T, innerValue: T, outerIndex: number): void;
38}
Note: See TracBrowser for help on using the repository browser.