Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function calculateTotalShards
Re-export
import { calculateTotalShards } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

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

Parameters

gateway: GatewayManager

Returns

number