Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method ProtocolHandler.prototype.publish
import { ProtocolHandler } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";

Parameters

subject: string
optional
payload: Payload = [UNSUPPORTED]
optional
options: PublishOptions