Module

x/proc/tests/deps/asynciter.ts>collect

A better way to work with processes in Deno.
Latest
function collect
import { collect } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";

Collect the items in this iterator to an array.

Parameters

iterable: AsyncIterable<T>

Returns

Promise<T[]>

The items of this iterator collected to an array.

import collect
import { collect } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";