@hyperjump/pact
    Preparing search index...

    Function asyncFlatten

    • Same as flatten, but works with AsyncGenerators.

      Type Parameters

      • A

      Parameters

      • iterator: NestedIterable<A> | NestedAsyncIterable<A>
      • Optionaldepth: number

      Returns AsyncGenerator<A | NestedIterable<A> | NestedAsyncIterable<A>>