Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Destroyable
import { type Destroyable } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Methods

destroy(): Promise<void>

Destroys a resource on the server. Returns a promise that resolves to true whene the operation has been completed