interface
WebSocketShardEventsMap
export
interface
WebSocketShardEventsMap
Table of contents
Properties
closed
debug
dispatch
error
heartbeat
hello
ready
resumed
socketError
Properties
closed :
[code:
number
]
debug :
[message:
string
]
dispatch :
[payload:
GatewayDispatchPayload
]
error :
[error:
Error
]
heartbeat :
[stats: {
ackAt
:
number
;
heartbeatAt
:
number
;
latency
:
number
; }]
hello :
[]
ready :
[payload:
GatewayReadyDispatchData
]
resumed :
[]
socketError :
[error:
Error
]