Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ RateLimiter.ts
File
RateLimiter.ts
packages/effect/src/unstable/persistence/RateLimiter.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Coordinates rate limits through shared persistent storage.
3
*
4
* The `RateLimiter` service consumes tokens
for
string keys using fixed-window
Callers
nothing calls this directly
Calls
14
identity
Function · 0.90
getAdaptiveState
Function · 0.85
learningExpiresAt
Function · 0.85
clampAdaptiveDurationMillis
Function · 0.85
cooldownExpiresAt
Function · 0.85
learnedExpiresAt
Function · 0.85
withReturnType
Method · 0.80
use
Method · 0.65
of
Method · 0.65
currentTimeMillisUnsafe
Method · 0.65
get
Method · 0.65
set
Method · 0.65
Tested by
no test coverage detected