interface IShardingStrategy
Strategies responsible for spawning, initializing connections, destroying shards, and relaying events
connectAwaitable<void> () :
Initializes all the shards
destroyoptions?: Omit<WebSocketShardDestroyOptions, 'recover'>) : Awaitable<void> (
options?: Omit<WebSocketShardDestroyOptions, 'recover'>
Destroys all the shards
sendshardId: numberpayload: GatewaySendPayload) : Awaitable<void> (
shardId: number
payload: GatewaySendPayload
Sends a payload to a shard
spawnshardIds: number[]) : Awaitable<void> (
shardIds: number[]
Spawns all the shards