Skip to main content
Module

x/discordeno/mod.ts>calculateTotalShards

Discord API library for Deno
Latest
function calculateTotalShards
Re-export
import { calculateTotalShards } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

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

Parameters

gateway: GatewayManager

Returns

number