vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function toArray

    • Convert an async iterable to an array by awaiting all values in the iterable.

      Type Parameters

      • T

      Parameters

      • itr: AsyncIterable<T>

        Iterable to unfold

      Returns Promise<T[]>