1 | import { AsyncIterableX } from './asynciterablex';
|
2 | /**
|
3 | * Propagates the async sequence that reacts first.
|
4 | * @param {AsyncIterable<T>} left First async sequence.
|
5 | * @param {AsyncIterable<T>} right Second async sequence.
|
6 | * @return {AsyncIterable<T>} An async sequence that surfaces either of the given sequences, whichever reacted first.
|
7 | */
|
8 | export declare function race<TSource>(left: AsyncIterable<TSource>, right: AsyncIterable<TSource>): AsyncIterableX<TSource>;
|