MCPcopy 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

identityFunction · 0.90
getAdaptiveStateFunction · 0.85
learningExpiresAtFunction · 0.85
cooldownExpiresAtFunction · 0.85
learnedExpiresAtFunction · 0.85
withReturnTypeMethod · 0.80
useMethod · 0.65
ofMethod · 0.65
getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected