Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function tellWorkerToIdentify
Re-export
import { tellWorkerToIdentify } from "https://deno.land/x/discordeno@17.0.0/gateway/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>