GatewayHealth
Defined in: packages/ws/src/index.ts:154
What Gateway.health reports.
Properties
Section titled “Properties”latency
Section titled “latency”latency:
number
Defined in: packages/ws/src/index.ts:158
Round trip of the last acknowledged heartbeat in ms, or -1 before the first.
reconnects
Section titled “reconnects”reconnects:
number
Defined in: packages/ws/src/index.ts:162
Reconnects scheduled since this Gateway was created.
silentFor
Section titled “silentFor”silentFor:
number
Defined in: packages/ws/src/index.ts:160
Milliseconds since the last message from Discord, or 0 before any.
state:
GatewayState
Defined in: packages/ws/src/index.ts:156
Connection lifecycle state.