Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function tellWorkerToIdentify
Re-export
import { tellWorkerToIdentify } from "https://deno.land/x/discordeno@17.0.0/gateway/manager/mod.ts";

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.

Parameters

gateway: GatewayManager
_workerId: number
shardId: number
_bucketId: number

Returns

Promise<void>