Defined in: rate-limiter/useRateLimiter.ts:23
A RateLimiter with framework-reactive selected state. All core methods remain available.
TFn extends AnyFunction
TSelected = { }
options: RateLimiterOptions<TFn> & VueRateLimiterOptions<TFn, TSelected>;Defined in: rate-limiter/useRateLimiter.ts:27
setOptions: (options) => void;Defined in: rate-limiter/useRateLimiter.ts:28
Partial<VueRateLimiterOptions<TFn, TSelected>>
void
readonly state: Readonly<ShallowRef<TSelected>>;Defined in: rate-limiter/useRateLimiter.ts:32
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe: VuePacerSubscribe<RateLimiterState>;Defined in: rate-limiter/useRateLimiter.ts:30
Subscribes a scoped slot to state without re-rendering the utility owner.