variable toArray
import { toArray } from "async.ts";

Type

<T>(iterable: AsyncIterable<T>) => Promise<T[]>