本页还没有译文
本页 26 段还没译成Français,下面显示的是英文原文。VueAsyncRateLimiter
还没翻译译自英文(tanstack.com)本页 26 段都还没译
Defined in: async-rate-limiter/useAsyncRateLimiter.ts:23
An AsyncRateLimiter with framework-reactive selected state. All core methods remain available.
Extends
Omit<AsyncRateLimiter<TFn>,"options"|"setOptions">
Type Parameters
TFn
TFn extends AnyAsyncFunction
TSelected
TSelected = {
}
Properties
options
options: AsyncRateLimiterOptions<TFn> & VueAsyncRateLimiterOptions<TFn, TSelected>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:27
setOptions
setOptions: (options) => void;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:29
Parameters
options
Partial<VueAsyncRateLimiterOptions<TFn, TSelected>>
Returns
void
state
readonly state: Readonly<ShallowRef<TSelected>>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:35
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe
Subscribe: VuePacerSubscribe<AsyncRateLimiterState<TFn>>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:33
Subscribes a scoped slot to state without re-rendering the utility owner.
AI 翻译查看英文原文