source: trip-planner-front/node_modules/rxjs/internal/observable/forkJoin.d.ts@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 3.1 KB
Line 
1import { Observable } from '../Observable';
2import { ObservableInput, ObservedValuesFromArray, ObservedValueOf, SubscribableOrPromise } from '../types';
3/** @deprecated Use the version that takes an array of Observables instead */
4export declare function forkJoin<T>(v1: SubscribableOrPromise<T>): Observable<[T]>;
5/** @deprecated Use the version that takes an array of Observables instead */
6export declare function forkJoin<T, T2>(v1: ObservableInput<T>, v2: ObservableInput<T2>): Observable<[T, T2]>;
7/** @deprecated Use the version that takes an array of Observables instead */
8export declare function forkJoin<T, T2, T3>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>): Observable<[T, T2, T3]>;
9/** @deprecated Use the version that takes an array of Observables instead */
10export declare function forkJoin<T, T2, T3, T4>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): Observable<[T, T2, T3, T4]>;
11/** @deprecated Use the version that takes an array of Observables instead */
12export declare function forkJoin<T, T2, T3, T4, T5>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): Observable<[T, T2, T3, T4, T5]>;
13/** @deprecated Use the version that takes an array of Observables instead */
14export declare function forkJoin<T, T2, T3, T4, T5, T6>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): Observable<[T, T2, T3, T4, T5, T6]>;
15export declare function forkJoin<A>(sources: [ObservableInput<A>]): Observable<[A]>;
16export declare function forkJoin<A, B>(sources: [ObservableInput<A>, ObservableInput<B>]): Observable<[A, B]>;
17export declare function forkJoin<A, B, C>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>]): Observable<[A, B, C]>;
18export declare function forkJoin<A, B, C, D>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>]): Observable<[A, B, C, D]>;
19export declare function forkJoin<A, B, C, D, E>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>, ObservableInput<E>]): Observable<[A, B, C, D, E]>;
20export declare function forkJoin<A, B, C, D, E, F>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>, ObservableInput<E>, ObservableInput<F>]): Observable<[A, B, C, D, E, F]>;
21export declare function forkJoin<A extends ObservableInput<any>[]>(sources: A): Observable<ObservedValuesFromArray<A>[]>;
22export declare function forkJoin(sourcesObject: {}): Observable<never>;
23export declare function forkJoin<T, K extends keyof T>(sourcesObject: T): Observable<{
24 [K in keyof T]: ObservedValueOf<T[K]>;
25}>;
26/** @deprecated resultSelector is deprecated, pipe to map instead */
27export declare function forkJoin(...args: Array<ObservableInput<any> | Function>): Observable<any>;
28/** @deprecated Use the version that takes an array of Observables instead */
29export declare function forkJoin<T>(...sources: ObservableInput<T>[]): Observable<T[]>;
Note: See TracBrowser for help on using the repository browser.