• Produces the set difference of two async-iterable sequences by using the specified equality comparer to compare values.

    Type Parameters

    • TSource

      The type of the elements of the input sequences.

    Parameters

    • second: AsyncIterable<TSource>

      An async-iterable sequence whose elements that also occur in the operator sequence will cause those elements to be removed from the returned sequence.

    • Optional comparer: ((x, y) => boolean | Promise<boolean>) = comparerAsync

      An equality comparer to compare values

        • (x, y): boolean | Promise<boolean>
        • Parameters

          • x: TSource
          • y: TSource

          Returns boolean | Promise<boolean>

    Returns MonoTypeOperatorAsyncFunction<TSource>

    An operator that returns a sequence that contains the set difference of the elements of two sequences.

Generated using TypeDoc