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

Endpoint

import type { Endpoint } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";

A service Endpoint

type Endpoint = {
subject: string;
handler?: ServiceHandler;
metadata?: Record<string, string>;
queue?: string;
}
;

§Type

§
{
subject: string;
handler?: ServiceHandler;
metadata?: Record<string, string>;
queue?: string;
}
[src]