iter-tools-es
Version:
The iterable toolbox
5 lines • 441 B
TypeScript
import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable';
declare function asyncDistinct<T>(source: AsyncWrappable<T>): AsyncIterableIterator<T>;
declare function asyncDistinct<T>(selector: (item: T) => unknown): (source: AsyncWrappable<T>) => AsyncIterableIterator<T>;
declare function asyncDistinct<T>(selector: (item: T) => unknown, source: AsyncWrappable<T>): AsyncIterableIterator<T>;
export { asyncDistinct };