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

MuxSubscription

import { MuxSubscription } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
class MuxSubscription {
constructor();
baseInbox: string;
reqs: Map<string, Request>;
 
add(r: Request);
all(): Request[];
cancel(r: Request): void;
close();
dispatcher();
get(token: string): Request | undefined;
getToken(m: Msg): string | null;
handleError(isMuxPermissionError: boolean, err?: NatsError): boolean;
init(prefix?: string): string;
size(): number;
}

§Constructors

§
new MuxSubscription()
[src]

§Properties

§
baseInbox: string
[src]
§
reqs: Map<string, Request>
[src]

§Methods

§
cancel(r: Request): void
[src]
§
close()
[src]
§
dispatcher()
[src]
§
get(token: string): Request | undefined
[src]
§
getToken(m: Msg): string | null
[src]
§
handleError(isMuxPermissionError: boolean, err?: NatsError): boolean
[src]
§
init(prefix?: string): string
[src]
§
size(): number
[src]