• Flattens the nested async-iterable by the given depth.

    Type Parameters

    • D extends number = -1

    Parameters

    • Optional depth: D = ...

      The depth to flatten the async-iterable sequence if specified, otherwise infinite.

    • concurrent: number = Infinity

    Returns (<T>(source) => AsyncIterable<Flattened<T, D>>)

    An operator that flattens the async-iterable sequence.

      • <T>(source): AsyncIterable<Flattened<T, D>>
      • Type Parameters

        • T

        Parameters

        • source: AsyncIterable<T>

        Returns AsyncIterable<Flattened<T, D>>

Generated using TypeDoc