• Returns an async-iterable sequence that contains only distinct elements according to the keySelector and comparer.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    • TKey = TSource

      The type of the discriminator key computed for each element in the source sequence.

    Parameters

    • Optional options: DistinctOptions<TSource, TKey>

      The optional arguments for a key selector and comparer function.

    Returns MonoTypeOperatorAsyncFunction<TSource>

    An operator that returns distinct elements according to the keySelector and options.

Generated using TypeDoc