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

Events

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

Events reported by the {@link NatsConnection#status} iterator.

enum Events {
Disconnect = "disconnect",
Reconnect = "reconnect",
Update = "update",
LDM = "ldm",
Error = "error",
}

§Members

§
Events.Disconnect = "disconnect"
[src]

Client disconnected

§
Events.Error = "error"
[src]

Client received an async error from the server

§
Events.LDM = "ldm"
[src]

Client received a signal telling it that the server is transitioning to Lame Duck Mode

§
Events.Reconnect = "reconnect"
[src]

Client reconnected

§
Events.Update = "update"
[src]

Client received a cluster update