Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
enum Events
import { Events } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";

Events reported by the NatsConnection#status iterator.

Members

Disconnect = "disconnect"

Client disconnected

Error = "error"

Client received an async error from the server

LDM = "ldm"

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

Reconnect = "reconnect"

Client reconnected

Update = "update"

Client received a cluster update