Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias ShardManager
import { type ShardManager } from "https://deno.land/x/discordeno@17.0.0/gateway/manager/shardManager.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>