Preview environment

interface IIdentifyThrottler

external
interface IIdentifyThrottler

IdentifyThrottlers are responsible for dictating when a shard is allowed to identify.

See also: https://discord.com/developers/docs/topics/gateway#sharding-max-concurrency

external
waitForIdentify(
shardId: number
signal: AbortSignal
) : Promise<void>

Resolves once the given shard should be allowed to identify, or rejects if the operation was aborted.