UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

11 lines (10 loc) 659 B
import { IterableX } from '../iterablex'; import { MonoTypeOperatorFunction } from '../../interfaces'; export declare class DistinctUntilChangedIterable<TSource, TKey> extends IterableX<TSource> { private _source; private _keySelector; private _comparer; constructor(source: Iterable<TSource>, keySelector: (value: TSource) => TKey, comparer: (first: TKey, second: TKey) => boolean); [Symbol.iterator](): Generator<TSource, void, unknown>; } export declare function distinctUntilChanged<TSource, TKey = TSource>(keySelector?: (value: TSource) => TKey, comparer?: (first: TKey, second: TKey) => boolean): MonoTypeOperatorFunction<TSource>;