Function zipAsync

  • Returns a Stream that merges elements from both iterables by taking one element from each, passing them to the function, and yielding the result.

    Type Parameters

    • A
    • B
    • O

    Parameters

    • a: AsyncIterable<A>
    • b: AsyncIterable<B>
    • zipFunction: ((a: A, b: B) => O)
        • (a, b): O
        • Parameters

          Returns O

    Returns AsyncStream<O>