You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

SimpleIdentifyThrottler

export declare class SimpleIdentifyThrottler implements IIdentifyThrottler
export declare class SimpleIdentifyThrottler implements IIdentifyThrottler
Local, in-memory identify throttler.
constructor(maxConcurrency)
Constructs a new instance of the SimpleIdentifyThrottler class
NameTypeOptionalDescription
maxConcurrencynumberNoNone
waitForIdentify(shardId, signal):Promise<void>
Resolves once the given shard should be allowed to identify, or rejects if the operation was aborted.
NameTypeOptionalDescription
shardIdnumberNoNone
signalAbortSignalNoNone