mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 08:20:08 +00:00
10 lines
365 B
TypeScript
10 lines
365 B
TypeScript
import { WebSocket } from "https://deno.land/std/ws/mod.ts"import { Client_Options } from "../types/options"
|
|
export const spawnShards = (total: number, id = 1) => {
|
|
// this.ShardingManager.spawnShard(id);
|
|
if (id < total) spawnShards(total, id + 1)
|
|
}
|
|
|
|
export const spawnShardss = (total: number, socket: WebSocket, data: Client_Options, payload: unknown) => {
|
|
|
|
}
|