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@13.0.0-rc45/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

_workerId: number
shardId: number
_bucketId: number

Returns

Promise<void>