Pacer Docs
API Reference
Debouncer API Reference
- DebouncerOptions
- DebouncerState
- AsyncDebouncerOptions
- AsyncDebouncerState
- debounce
- asyncDebounce
- Debouncer
- AsyncDebouncer
- useAsyncDebouncedCallback
- useAsyncDebouncer
- useDebouncedCallback
- useDebouncedState
- useDebouncedValue
- useDebouncer
- OctaneAsyncDebouncer
- OctaneAsyncDebouncerOptions
- OctaneDebouncer
- OctaneDebouncerOptions
Throttler API Reference
- ThrottlerOptions
- ThrottlerState
- AsyncThrottlerOptions
- AsyncThrottlerState
- throttle
- asyncThrottle
- Throttler
- AsyncThrottler
- useAsyncThrottledCallback
- useAsyncThrottler
- useThrottledCallback
- useThrottledState
- useThrottledValue
- useThrottler
- OctaneAsyncThrottler
- OctaneAsyncThrottlerOptions
- OctaneThrottler
- OctaneThrottlerOptions
Rate Limiter API Reference
- RateLimiterOptions
- RateLimiterState
- AsyncRateLimiterOptions
- AsyncRateLimiterState
- rateLimit
- asyncRateLimit
- RateLimiter
- AsyncRateLimiter
- useAsyncRateLimitedCallback
- useAsyncRateLimiter
- useRateLimitedCallback
- useRateLimitedState
- useRateLimitedValue
- useRateLimiter
- OctaneAsyncRateLimiter
- OctaneAsyncRateLimiterOptions
- OctaneRateLimiter
- OctaneRateLimiterOptions
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/octane/reference/interfaces/OctaneAsyncRateLimiter.md
Rate Limiter API Reference
OctaneAsyncRateLimiter
Defined in: async-rate-limiter/useAsyncRateLimiter.ts:25
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#
ts
options: AsyncRateLimiterOptions<TFn> & OctaneAsyncRateLimiterOptions<TFn, TSelected>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:29
setOptions#
ts
setOptions: (options) => void;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:31
Parameters#
options#
Partial<OctaneAsyncRateLimiterOptions<TFn, TSelected>>
Returns#
void
state#
ts
readonly state: Readonly<TSelected>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:37
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe#
ts
Subscribe: OctanePacerSubscribe<AsyncRateLimiterState<TFn>>;Defined in: async-rate-limiter/useAsyncRateLimiter.ts:35
Selects state in a child without subscribing the utility owner.