Preview environment
interface
ManagerShardEventsMap
export
interface
ManagerShardEventsMap
Table of contents
Properties
closed
debug
dispatch
error
heartbeat
hello
ready
resumed
Properties
closed :
[{
code
:
number
;
shardId
:
number
; }]
debug :
[payload: {
message
:
string
;
shardId
:
number
; }]
dispatch :
[payload: {
data
:
GatewayDispatchPayload
;
shardId
:
number
; }]
error :
[payload: {
error
:
Error
;
shardId
:
number
; }]
heartbeat :
[ payload: {
ackAt
:
number
;
heartbeatAt
:
number
;
latency
:
number
;
shardId
:
number
; } ]
hello :
[{
shardId
:
number
; }]
ready :
[payload: {
data
:
GatewayReadyDispatchData
;
shardId
:
number
; }]
resumed :
[{
shardId
:
number
; }]