Skip to main content
Module

x/ldkit/library/asynciterator.ts>AsyncIterator#toArray

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
method AsyncIterator.prototype.toArray
Re-export
import { AsyncIterator } from "https://deno.land/x/ldkit@v0.6.4/library/asynciterator.ts";

Consume all remaining items of the iterator into an array that will be returned asynchronously.

Parameters

optional
options: { limit?: number; }

Returns

Promise<T[]>