1 | import { Observable } from '../Observable';
|
2 | import { ObservableInput, SchedulerLike, ObservedValueOf, ObservableInputTuple } from '../types';
|
3 | import { Subscriber } from '../Subscriber';
|
4 | import { AnyCatcher } from '../AnyCatcher';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare function combineLatest<T extends AnyCatcher>(arg: T): Observable<unknown>;
|
11 | export declare function combineLatest(sources: []): Observable<never>;
|
12 | export declare function combineLatest<A extends readonly unknown[]>(sources: readonly [...ObservableInputTuple<A>]): Observable<A>;
|
13 |
|
14 | export declare function combineLatest<A extends readonly unknown[], R>(sources: readonly [...ObservableInputTuple<A>], resultSelector: (...values: A) => R, scheduler: SchedulerLike): Observable<R>;
|
15 | export declare function combineLatest<A extends readonly unknown[], R>(sources: readonly [...ObservableInputTuple<A>], resultSelector: (...values: A) => R): Observable<R>;
|
16 |
|
17 | export declare function combineLatest<A extends readonly unknown[]>(sources: readonly [...ObservableInputTuple<A>], scheduler: SchedulerLike): Observable<A>;
|
18 |
|
19 | export declare function combineLatest<A extends readonly unknown[]>(...sources: [...ObservableInputTuple<A>]): Observable<A>;
|
20 |
|
21 | export declare function combineLatest<A extends readonly unknown[], R>(...sourcesAndResultSelectorAndScheduler: [...ObservableInputTuple<A>, (...values: A) => R, SchedulerLike]): Observable<R>;
|
22 |
|
23 | export declare function combineLatest<A extends readonly unknown[], R>(...sourcesAndResultSelector: [...ObservableInputTuple<A>, (...values: A) => R]): Observable<R>;
|
24 |
|
25 | export declare function combineLatest<A extends readonly unknown[]>(...sourcesAndScheduler: [...ObservableInputTuple<A>, SchedulerLike]): Observable<A>;
|
26 | export declare function combineLatest(sourcesObject: {
|
27 | [K in any]: never;
|
28 | }): Observable<never>;
|
29 | export declare function combineLatest<T extends Record<string, ObservableInput<any>>>(sourcesObject: T): Observable<{
|
30 | [K in keyof T]: ObservedValueOf<T[K]>;
|
31 | }>;
|
32 | export declare function combineLatestInit(observables: ObservableInput<any>[], scheduler?: SchedulerLike, valueTransform?: (values: any[]) => any): (subscriber: Subscriber<any>) => void;
|
33 |
|
\ | No newline at end of file |