export declare class SimpleIdentifyThrottler implements IIdentifyThrottler export declare class SimpleIdentifyThrottler implements IIdentifyThrottler Local, in-memory identify throttler.
Implements
IIdentifyThrottlerconstructor(maxConcurrency)
Constructs a new instance of the
SimpleIdentifyThrottler class| Name | Type | Optional | Description |
|---|---|---|---|
| maxConcurrency | number | No | None |
waitForIdentify(shardId, signal)
:
Promise<void>
Resolves once the given shard should be allowed to identify, or rejects if the operation was aborted.
| Name | Type | Optional | Description |
|---|---|---|---|
| shardId | number | No | None |
| signal | AbortSignal | No | None |