race.d.ts 560 B

123456
  1. import { Observable } from '../Observable';
  2. import { MonoTypeOperatorFunction, OperatorFunction } from '../interfaces';
  3. export declare function race<T>(observables: Array<Observable<T>>): MonoTypeOperatorFunction<T>;
  4. export declare function race<T, R>(observables: Array<Observable<T>>): OperatorFunction<T, R>;
  5. export declare function race<T>(...observables: Array<Observable<T> | Array<Observable<T>>>): MonoTypeOperatorFunction<T>;
  6. export declare function race<T, R>(...observables: Array<Observable<any> | Array<Observable<any>>>): OperatorFunction<T, R>;