toggle menu
kresil
0.0.1
common
switch theme
search in API
kresil-lib
/
kresil.ratelimiter.semaphore
/
SemaphoreBasedRateLimiter
/
SemaphoreBasedRateLimiter
Semaphore
Based
Rate
Limiter
constructor
(
config
:
RateLimiterConfig
,
semaphoreState
:
SemaphoreState
)
(
source
)
Parameters
config
The configuration for the rate limiter mechanism.
semaphore
State
The state of the semaphore.