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

Methods

publish(
subject: string,
data: Payload,
options?: { reply?: string; headers?: MsgHdrs; },
): void