@szilanor/stream
    Preparing search index...

    Variable chainAsyncConst

    chainAsync: <T>(
        ...iterables: (Iterable<T, any, any> | AsyncIterable<T, any, any>)[],
    ) => AsyncStream<T> = concatAsync

    Type Declaration

      • <T>(
            ...iterables: (Iterable<T, any, any> | AsyncIterable<T, any, any>)[],
        ): AsyncStream<T>
      • Returns an AsyncStream that yields elements of all Iterable parameters in order.

        Type Parameters

        • T

          Type of items in the source.

        Parameters

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

          Array of Iterables to concatenate.

        Returns AsyncStream<T>

        AsyncStream that yields elements of all Iterable parameters in order.

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