Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/gateway/mod.ts>ShardManager

Discord API library for Deno
Extremely Popular
Go to Latest
type alias ShardManager
Re-export
import { type ShardManager } from "https://deno.land/x/discordeno@17.0.0/gateway/mod.ts";

This is a Shard manager. This does not manage a specific range of Shard but the provided Shards on create or when an identify is requested. The aim of this is to provide an easy to use manager which can be used by workers or any other kind of separate process.

definition: ReturnType<createShardManager>