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

Publisher

import type { Publisher } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
interface Publisher {
publish(
subject: string,
data: Payload,
options?: {
reply?: string;
headers?: MsgHdrs;
}
,
): void;
}

§Methods

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