import * as discordeno from "https://deno.land/x/discordeno@17.2.0/gateway/mod.ts";
Functions
Handler used to determine max number of shards to use based upon the max concurrency. | |
Create a new Gateway Manager. | |
Create a new 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. | |
f send | |
Begin spawning shards. | |
f stop | |
Allows users to hook in and change to communicate to different workers across different servers or anything they like. For example using redis pubsub to talk to other servers. |
Type Aliases
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. |