Module

x/discordeno/gateway/manager/mod.ts

Discord API library for Deno
Go to Latest
import * as mod from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/gateway/manager/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.

Begin spawning shards.

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.