• Collects all values from an (async) iterable and returns them as an array

    Type Parameters

    • T

    Parameters

    Returns T[]

  • Type Parameters

    • T

    Parameters

    Returns Promise<T[]>