Search...

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