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

Sub

import type { Sub } from "https://gitlab.com/soapbox-pub/nostr-machina/-/raw/main/mod.ts";
interface Sub <T> {
close(): void;
stream(): AsyncGenerator<T>;
}

§Type Parameters

§Methods

§
close(): void
[src]
§
stream(): AsyncGenerator<T>
[src]