Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface Closed
import { type Closed } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

An interface that reports via a promise when an object such as a connection or subscription closes.

Properties

closed: Promise<void>

A promise that when resolves, indicates that the object is closed.