本页还没有译文
本页 26 段还没译成日本語,下面显示的是英文原文。VueRateLimiter
还没翻译译自英文(tanstack.com)本页 26 段都还没译
Defined in: rate-limiter/useRateLimiter.ts:23
A RateLimiter with framework-reactive selected state. All core methods remain available.
Extends
Omit<RateLimiter<TFn>,"options"|"setOptions">
Type Parameters
TFn
TFn extends AnyFunction
TSelected
TSelected = {
}
Properties
options
options: RateLimiterOptions<TFn> & VueRateLimiterOptions<TFn, TSelected>;Defined in: rate-limiter/useRateLimiter.ts:27
setOptions
setOptions: (options) => void;Defined in: rate-limiter/useRateLimiter.ts:28
Parameters
options
Partial<VueRateLimiterOptions<TFn, TSelected>>
Returns
void
state
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
Subscribe: VuePacerSubscribe<RateLimiterState>;Defined in: rate-limiter/useRateLimiter.ts:30
Subscribes a scoped slot to state without re-rendering the utility owner.
AI 翻译查看英文原文