Subscriptions
import { Subscriptions } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
class Subscriptions { }
constructor();
mux: SubscriptionImpl | null;
sidCounter: number;
subs: Map<number, SubscriptionImpl>;
all(): (SubscriptionImpl)[];
close();
getMux(): SubscriptionImpl | null;
size(): number;
§Properties
§
mux: SubscriptionImpl | null
[src]§
subs: Map<number, SubscriptionImpl>
[src]§Methods
§
add(s: SubscriptionImpl): SubscriptionImpl
[src]§
all(): (SubscriptionImpl)[]
[src]§
cancel(s: SubscriptionImpl): void
[src]§
get(sid: number): SubscriptionImpl | undefined
[src]§
getMux(): SubscriptionImpl | null
[src]§
resub(s: SubscriptionImpl): SubscriptionImpl
[src]§
setMux(s: SubscriptionImpl | null): SubscriptionImpl | null
[src]