@cprecioso/async-iterable-helpers
    Preparing search index...

    Function concatAll

    • Concatenates several sync or async iterables into a single async iterable, yielding all items from the first, then the second, and so on. Each iterable is consumed lazily, only when the previous one is exhausted.

      Type Parameters

      • T

      Parameters

      • iterables:
            | Iterable<Iterable<T, any, any> | AsyncIterable<T, any, any>, any, any>
            | AsyncIterable<
                Iterable<T, any, any>
                | AsyncIterable<T, any, any>,
                any,
                any,
            >

        The iterables to concatenate, in order.

      Returns AsyncIterableWrapper<Awaited<T>>

      A wrapper yielding the awaited values of each iterable in sequence.