UNPKG

iter-tools-es

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