ShardHealth
Defined in: packages/sharding/src/health.ts:19
Health snapshot for one shard.
Properties
Section titled “Properties”disconnectedAt?
Section titled “disconnectedAt?”
optionaldisconnectedAt?:number
Defined in: packages/sharding/src/health.ts:30
When the socket last closed (epoch ms), if it ever did.
id:
number
Defined in: packages/sharding/src/health.ts:20
ping:
number
Defined in: packages/sharding/src/health.ts:24
Last heartbeat round-trip in ms, or -1 before the first ACK.
readyAt?
Section titled “readyAt?”
optionalreadyAt?:number
Defined in: packages/sharding/src/health.ts:28
When the shard last became ready (epoch ms), if it ever did.
state:
GatewayState
Defined in: packages/sharding/src/health.ts:22
Gateway connection state.
status
Section titled “status”status:
ShardStatus
Defined in: packages/sharding/src/health.ts:26
Shard lifecycle, separate from the Gateway state.