• 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[]>