@szilanor/stream
    Preparing search index...

    Variable flattenAsyncConst

    flattenAsync: <T>() => AsyncOperationFunction<Iterable<T, any, any>, T> = flatAsync

    Type Declaration

      • <T>(): AsyncOperationFunction<Iterable<T, any, any>, T>
      • 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]