Function mergeShuffledSortedStreams
- mergeShuffledSortedStreams<T>(sources: AsyncIterable<T>[], comparator: ((a: T, b: T) => number)): AsyncIterable<T>
-
Parameters
-
sources: AsyncIterable<T>[]
-
comparator: ((a: T, b: T) => number)
-
- (a: T, b: T): number
-
Returns number
Returns AsyncIterable<T>