@szilanor/stream
    Preparing search index...

    Function concatWithAsync

    • Concatenates the Iterable with other Iterables in order.

      Type Parameters

      • T

        The type of the elements in the iterables.

      Parameters

      • ...iterables: (AsyncIterable<T, any, any> | Iterable<T, any, any>)[]

        The iterables to concatenate.

      Returns AsyncOperationFunction<T, T>

      An AsyncOperationFunction that concatenates the specified iterables to the source iterable.

      const result = concatWithAsync<number>([1, 2, 3], [4, 5, 6]);
      console.log(result); // [1, 2, 3, 4, 5, 6]