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