iter-tools-es
Version:
The iterable toolbox
5 lines • 472 B
TypeScript
import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable';
declare function asyncCollate<T>(...sources: Array<AsyncWrappable<T>>): AsyncIterableIterator<T>;
declare function asyncCollate<T>(compare: (a: T, b: T) => number, ...sources: Array<AsyncWrappable<T>>): AsyncIterableIterator<T>;
declare function asyncCollate<T>(compare: (a: T, b: T) => number): (...sources: Array<AsyncWrappable<T>>) => AsyncIterableIterator<T>;
export { asyncCollate };