@szilanor/stream
    Preparing search index...

    Function flatAsync

    • Returns an AsyncOperationFunction that yields the inner entries of array entries of the source Iterable.

      Type Parameters

      • T

        The type of the elements in the source Iterable.

      Returns AsyncOperationFunction<Iterable<T, any, any>, T>

      An AsyncOperationFunction that yields the inner entries of array entries of the source Iterable.

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