Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function calculateTotalShards
import { calculateTotalShards } from "https://deno.land/x/discordeno@17.0.1/gateway/manager/calculateTotalShards.ts";

Handler used to determine max number of shards to use based upon the max concurrency.

Returns

number