class WebSocketShard
extends
AsyncEventEmitter<WebSocketShardEventsMap>declare class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap>
Constructors
strategy: IContextFetchingStrategyid: number)
constructor(strategy: IContextFetchingStrategy
id: number
Constructs a new instance of the WebSocketShard
class
readonlyIContextFetchingStrategy strategy :
connectPromise<void> () :
destroyoptions?: WebSocketShardDestroyOptions) : Promise<void> (
options?: WebSocketShardDestroyOptions
sendpayload: GatewaySendPayload) : Promise<void> (
payload: GatewaySendPayload