1 | import { AsyncIterableX } from './asynciterablex';
|
2 | export declare class DistinctAsyncIterable<TSource, TKey> extends AsyncIterableX<TSource> {
|
3 | private _source;
|
4 | private _keySelector;
|
5 | private _comparer;
|
6 | constructor(source: AsyncIterable<TSource>, keySelector: (value: TSource) => TKey | Promise<TKey>, comparer: (x: TKey, y: TKey) => boolean | Promise<boolean>);
|
7 | [Symbol.asyncIterator](): AsyncIterableIterator<TSource>;
|
8 | }
|
9 | export declare function distinct<TSource, TKey>(source: AsyncIterable<TSource>, keySelector?: (value: TSource) => TKey | Promise<TKey>, comparer?: (x: TKey, y: TKey) => boolean | Promise<boolean>): AsyncIterableX<TSource>;
|