Defined in: rate-limiter/createRateLimiter.ts:23
A RateLimiter with framework-reactive selected state. All core methods remain available.
TFn extends AnyFunction
TSelected = { }
options: RateLimiterOptions<TFn> & LitRateLimiterOptions<TFn, TSelected>;Defined in: rate-limiter/createRateLimiter.ts:27
setOptions: (options) => void;Defined in: rate-limiter/createRateLimiter.ts:28
Partial<LitRateLimiterOptions<TFn, TSelected>>
void
readonly state: Readonly<TSelected>;Defined in: rate-limiter/createRateLimiter.ts:32
Selected state. Pass a selector to opt in; the default selection is an empty object.
subscribe: LitPacerSubscribe<RateLimiterState>;Defined in: rate-limiter/createRateLimiter.ts:30
Subscribes a child owner to selected state with automatic cleanup.