• Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    Parameters

    • source: AsyncIterable<T>

      First async-iterable source.

    • source2: AsyncIterable<T2>

      Second async-iterable source.

    Returns AsyncIterable<[T, T2]>

    An async-iterable sequence containing an array of all sources.

  • Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    Parameters

    • source: AsyncIterable<T>

      First async-iterable source.

    • source2: AsyncIterable<T2>

      Second async-iterable source.

    • source3: AsyncIterable<T3>

      Third async-iterable source.

    Returns AsyncIterable<[T, T2, T3]>

    An async-iterable sequence containing an array of all sources.

  • Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    Parameters

    • source: AsyncIterable<T>

      First async-iterable source.

    • source2: AsyncIterable<T2>

      Second async-iterable source.

    • source3: AsyncIterable<T3>

      Third async-iterable source.

    • source4: AsyncIterable<T4>

      Fourth async-iterable source.

    Returns AsyncIterable<[T, T2, T3, T4]>

    An async-iterable sequence containing an array of all sources.

  • Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    • T5

      The type of the elements in the fifth source sequence.

    Parameters

    • source: AsyncIterable<T>

      First async-iterable source.

    • source2: AsyncIterable<T2>

      Second async-iterable source.

    • source3: AsyncIterable<T3>

      Third async-iterable source.

    • source4: AsyncIterable<T4>

      Fourth async-iterable source.

    • source5: AsyncIterable<T5>

      Fifth async-iterable source.

    Returns AsyncIterable<[T, T2, T3, T4, T5]>

    An async-iterable sequence containing an array of all sources.

  • Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    • T5

      The type of the elements in the fifth source sequence.

    • T6

      The type of the elements in the sixth source sequence.

    Parameters

    • source: AsyncIterable<T>

      First async-iterable source.

    • source2: AsyncIterable<T2>

      Second async-iterable source.

    • source3: AsyncIterable<T3>

      Third async-iterable source.

    • source4: AsyncIterable<T4>

      Fourth async-iterable source.

    • source5: AsyncIterable<T5>

      Fifth async-iterable source.

    • source6: AsyncIterable<T6>

      Sixth async-iterable source.

    Returns AsyncIterable<[T, T2, T3, T4, T5, T6]>

    An async-iterable sequence containing an array of all sources.

  • Merges multiple async-iterable sequences into one async-iterable sequence as an array whenever one of the async-iterable sequences produces an element.

    Type Parameters

    • T

      The of the elements in the source sequences.

    Parameters

    • Rest ...sources: AsyncIterable<T>[]

      The async-iterable sources.

    Returns AsyncIterable<T[]>

    An async-iterable sequence containing an array of all sources.

Generated using TypeDoc