rxjs
Version:
Reactive Extensions for modern JavaScript
12 lines • 687 B
TypeScript
import { Observable } from '../Observable';
import { ObservableInput, ObservableInputTuple } from '../types';
import { Subscriber } from '../Subscriber';
export declare function race<T extends readonly unknown[]>(inputs: [...ObservableInputTuple<T>]): Observable<T[number]>;
export declare function race<T extends readonly unknown[]>(...inputs: [...ObservableInputTuple<T>]): Observable<T[number]>;
/**
* An observable initializer function for both the static version and the
* operator version of race.
* @param sources The sources to race
*/
export declare function raceInit<T>(sources: ObservableInput<T>[]): (subscriber: Subscriber<T>) => void;
//# sourceMappingURL=race.d.ts.map