Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gauntlet/mod.ts>toArray

Work-in-progress front-end tool which does put a smile on my face
Latest
function toArray
import { toArray } from "https://deno.land/x/gauntlet@v0.0.9/mod.ts";

Takes an async iterator and returns an array

Type Parameters

optional
T = any

Parameters

asyncIterator: AsyncIterableIterator<T>

Returns

Promise<Array<T>>