• Produces the set union of two sequences by using the given equality comparer.

    Type Parameters

    • TSource

      The type of the elements of the input sequences.

    Parameters

    • right: AsyncIterable<TSource>

      An async-iterable sequence whose distinct elements form the second set for the union.

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

      The equality comparer to compare values.

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

          • x: TSource
          • y: TSource

          Returns boolean | Promise<boolean>

    Returns MonoTypeOperatorAsyncFunction<TSource>

    An async-iterable sequence that contains the elements from both input sequences, excluding duplicates.

Generated using TypeDoc