本页还没有译文
本页 13 段还没译成Tiếng Việt,下面显示的是英文原文。ThrottleStrategyOptions
还没翻译译自英文(tanstack.com)本页 13 段都还没译
Defined in: packages/db/src/strategies/types.ts:87
Options for throttle strategy Ensures executions are evenly spaced over time
Properties
leading?
optional leading: boolean;Defined in: packages/db/src/strategies/types.ts:91
Execute immediately on the first call. Defaults to true unless trailing is explicitly true.
trailing?
optional trailing: boolean;Defined in: packages/db/src/strategies/types.ts:93
Execute on the last call after wait period. Defaults to true. Disabled trailing rejects skipped optimistic calls.
wait
wait: number;Defined in: packages/db/src/strategies/types.ts:89
Minimum wait time between executions (milliseconds)
AI 翻译查看英文原文