The NoOpRateLimiterAdapter will do nothing and is used for easily mocking IRateLimiterProvider for testing.
NoOpRateLimiterAdapter
IRateLimiterProvider
IMPORT_PATH: "@daiso-tech/core/rate-limiter/no-op-rate-limiter-adapter"
"@daiso-tech/core/rate-limiter/no-op-rate-limiter-adapter"
The getState method returns the state of the rate limiter.
getState
The reset method resets rate limiter to its initial state regardless of the current state.
reset
The updateState method updates the state of the rate limiter and returns the new state.
updateState
The
NoOpRateLimiterAdapterwill do nothing and is used for easily mockingIRateLimiterProviderfor testing.IMPORT_PATH:
"@daiso-tech/core/rate-limiter/no-op-rate-limiter-adapter"