Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

collect

import { collect } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
async function collect<T>(iter: AsyncIterable<T>): Promise<T[]>;
§
collect<T>(iter: AsyncIterable<T>): Promise<T[]>
[src]

§Type Parameters

§Parameters

§
iter: AsyncIterable<T>
[src]

§Return Type

§
Promise<T[]>
[src]