本页还没有译文
本页 26 段还没译成Русский,下面显示的是英文原文。EmberThrottler
还没翻译译自英文(tanstack.com)本页 26 段都还没译
Defined in: packages/ember-pacer/src/throttler/useThrottler.ts:28
A Throttler with framework-reactive selected state. All core methods remain available.
Extends
Omit<Throttler<TFn>,"options"|"setOptions">
Type Parameters
TFn
TFn extends AnyFunction
TSelected
TSelected = {
}
Properties
options
options: ThrottlerOptions<TFn> & EmberThrottlerOptions<TFn, TSelected>;Defined in: packages/ember-pacer/src/throttler/useThrottler.ts:32
setOptions
setOptions: (options) => void;Defined in: packages/ember-pacer/src/throttler/useThrottler.ts:33
Parameters
options
Partial<EmberThrottlerOptions<TFn, TSelected>>
Returns
void
state
readonly state: Readonly<TSelected>;Defined in: packages/ember-pacer/src/throttler/useThrottler.ts:37
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe
Subscribe: EmberPacerSubscribe<ThrottlerState<TFn>>;Defined in: packages/ember-pacer/src/throttler/useThrottler.ts:35
Selects state in a child without subscribing the utility owner.
AI 翻译查看英文原文