Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

forkJoin.d.ts 3.1KB

1234567891011121314151617181920212223242526272829
  1. import { Observable } from '../Observable';
  2. import { ObservableInput, ObservedValuesFromArray, ObservedValueOf, SubscribableOrPromise } from '../types';
  3. /** @deprecated Use the version that takes an array of Observables instead */
  4. export declare function forkJoin<T>(v1: SubscribableOrPromise<T>): Observable<[T]>;
  5. /** @deprecated Use the version that takes an array of Observables instead */
  6. export 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 */
  8. export 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 */
  10. export 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 */
  12. export 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 */
  14. export 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]>;
  15. export declare function forkJoin<A>(sources: [ObservableInput<A>]): Observable<[A]>;
  16. export declare function forkJoin<A, B>(sources: [ObservableInput<A>, ObservableInput<B>]): Observable<[A, B]>;
  17. export declare function forkJoin<A, B, C>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>]): Observable<[A, B, C]>;
  18. export declare function forkJoin<A, B, C, D>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>, ObservableInput<D>]): Observable<[A, B, C, D]>;
  19. export 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]>;
  20. export 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]>;
  21. export declare function forkJoin<A extends ObservableInput<any>[]>(sources: A): Observable<ObservedValuesFromArray<A>[]>;
  22. export declare function forkJoin(sourcesObject: {}): Observable<never>;
  23. export 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 */
  27. export declare function forkJoin(...args: Array<ObservableInput<any> | Function>): Observable<any>;
  28. /** @deprecated Use the version that takes an array of Observables instead */
  29. export declare function forkJoin<T>(...sources: ObservableInput<T>[]): Observable<T[]>;