Pacer Docs
API Reference
Debouncer API Reference
- DebouncerOptions
- DebouncerState
- AsyncDebouncerOptions
- AsyncDebouncerState
- debounce
- asyncDebounce
- Debouncer
- AsyncDebouncer
- PreactDebouncerOptions
- PreactAsyncDebouncerOptions
- PreactDebouncer
- PreactAsyncDebouncer
- useDebouncer
- useDebouncedCallback
- useDebouncedState
- useDebouncedValue
- useAsyncDebouncer
- useAsyncDebouncedCallback
Throttler API Reference
- ThrottlerOptions
- ThrottlerState
- AsyncThrottlerOptions
- AsyncThrottlerState
- throttle
- asyncThrottle
- Throttler
- AsyncThrottler
- PreactThrottlerOptions
- PreactAsyncThrottlerOptions
- PreactThrottler
- PreactAsyncThrottler
- 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/preact/reference/interfaces/PreactQueuerOptions.md
Queue API Reference
PreactQueuerOptions
Defined in: queuer/useQueuer.ts:9
Extends#
- QueuerOptions<TValue>
Type Parameters#
TValue#
TValue
TSelected#
TSelected = { }
Properties#
onUnmount?#
ts
optional onUnmount?: (queuer) => void;Defined in: queuer/useQueuer.ts:17
Optional callback invoked when the component unmounts. Receives the queuer instance. When provided, replaces the default cleanup (stop); use it to call flush(), flushAsBatch(), stop(), add logging, etc.
Parameters#
queuer#
PreactQueuer<TValue, TSelected>
Returns#
void