Preview environment

class SimpleIdentifyThrottler

export declare class SimpleIdentifyThrottler implements IIdentifyThrottler

Local, in-memory identify throttler.

Constructors

constructor(
maxConcurrency: number
)

Constructs a new instance of the SimpleIdentifyThrottler class

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

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