Pacer Docs
API Reference
Debouncer API Reference
- DebouncerOptions
- DebouncerState
- AsyncDebouncerOptions
- AsyncDebouncerState
- debounce
- asyncDebounce
- Debouncer
- AsyncDebouncer
- ReactDebouncerOptions
- ReactAsyncDebouncerOptions
- ReactDebouncer
- ReactAsyncDebouncer
- useDebouncer
- useDebouncedCallback
- useDebouncedState
- useDebouncedValue
- useAsyncDebouncer
- useAsyncDebouncedCallback
Throttler API Reference
- ThrottlerOptions
- ThrottlerState
- AsyncThrottlerOptions
- AsyncThrottlerState
- throttle
- asyncThrottle
- Throttler
- AsyncThrottler
- ReactThrottlerOptions
- ReactAsyncThrottlerOptions
- ReactThrottler
- ReactAsyncThrottler
- useThrottler
- useThrottledCallback
- useThrottledState
- useThrottledValue
- useAsyncThrottler
- useAsyncThrottledCallback
Rate Limiter API Reference
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/react/reference/interfaces/ReactAsyncBatcherOptions.md
Batcher API Reference
ReactAsyncBatcherOptions
Defined in: async-batcher/useAsyncBatcher.ts:12
Extends#
- AsyncBatcherOptions<TValue>
Type Parameters#
TValue#
TValue
TSelected#
TSelected = { }
Properties#
onUnmount?#
ts
optional onUnmount?: (batcher) => void;Defined in: async-batcher/useAsyncBatcher.ts:20
Optional callback invoked when the component unmounts. Receives the batcher instance. When provided, replaces the default cleanup (cancel + abort); use it to call flush(), reset(), cancel(), add logging, etc.
Parameters#
batcher#
ReactAsyncBatcher<TValue, TSelected>
Returns#
void