UNPKG

iter-tools-es

Version:
5 lines 472 B
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 };