method AsyncIter.prototype.collectimport { AsyncIter } from "https://deno.land/x/asynciter@0.0.15/mod.ts"; collect(): Promise<T[]>Collect the items in this iterator to an array. ReturnsPromise<T[]>The items of this iterator collected to an array.