The event to broadcast.
Arguments to send with the event.
A list of the returned values, if any.
Creates a websocket shard instance for a specified server.
The identifier of the server.
The server websocket shard.
Disconnects a server shard's websocket connection and removes it.
If some shards do not return a value, undefined
will be set in place.
The identifier of the server.
Whether the websocket shard was disconnected and/or removed.
Disconnects all active websocket shards and removes them.
Fetches the websocket authentication data for a specified server.
The identifier of the server.
The websocket authentication data.
Generated using TypeDoc
Broadcasts an event to all shards and waits for the responses.