export interface IShardingStrategy
Strategies responsible for spawning, initializing connections, destroying shards, and relaying events
() => Awaitable<void> connect :
Initializes all the shards
(options?: Omit<WebSocketShardDestroyOptions, 'recover'>) => Awaitable<void> destroy :
Destroys all the shards
(shardId: number, payload: GatewaySendPayload) => Awaitable<void> send :
Sends a payload to a shard
(shardIds: number[]) => Awaitable<void> spawn :
Spawns all the shards