Pacer Docs
API Reference
Debouncer API Reference
- DebouncerOptions
- DebouncerState
- AsyncDebouncerOptions
- AsyncDebouncerState
- debounce
- asyncDebounce
- Debouncer
- AsyncDebouncer
- AsyncDebouncerController
- DebouncerController
- createAsyncDebouncer
- createDebouncedState
- createDebouncedValue
- createDebouncer
- LitAsyncDebouncer
- LitAsyncDebouncerOptions
- LitDebouncer
- LitDebouncerOptions
Throttler API Reference
- ThrottlerOptions
- ThrottlerState
- AsyncThrottlerOptions
- AsyncThrottlerState
- throttle
- asyncThrottle
- Throttler
- AsyncThrottler
- AsyncThrottlerController
- ThrottlerController
- createAsyncThrottler
- createThrottledState
- createThrottledValue
- createThrottler
- LitAsyncThrottler
- LitAsyncThrottlerOptions
- LitThrottler
- LitThrottlerOptions
Rate Limiter API Reference
- RateLimiterOptions
- RateLimiterState
- AsyncRateLimiterOptions
- AsyncRateLimiterState
- rateLimit
- asyncRateLimit
- RateLimiter
- AsyncRateLimiter
- AsyncRateLimiterController
- RateLimiterController
- createAsyncRateLimiter
- createRateLimitedState
- createRateLimitedValue
- createRateLimiter
- LitAsyncRateLimiter
- LitAsyncRateLimiterOptions
- LitRateLimiter
- LitRateLimiterOptions
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/lit/reference/interfaces/LitBatcher.md
Batcher API Reference
LitBatcher
Defined in: batcher/createBatcher.ts:19
A Batcher with framework-reactive selected state. All core methods remain available.
Extends#
- Omit<Batcher<TValue>, "options" | "setOptions">
Type Parameters#
TValue#
TValue
TSelected#
TSelected = { }
Properties#
options#
ts
options: Omit<Required<BatcherOptions<TValue>>, "initialState" | "key" | "onItemsChange" | "onExecute"> & Partial<Pick<Required<BatcherOptions<TValue>>, "initialState" | "key" | "onItemsChange" | "onExecute">> & LitBatcherOptions<TValue, TSelected>;Defined in: batcher/createBatcher.ts:23
setOptions#
ts
setOptions: (options) => void;Defined in: batcher/createBatcher.ts:24
Parameters#
options#
Partial<LitBatcherOptions<TValue, TSelected>>
Returns#
void
state#
ts
readonly state: Readonly<TSelected>;Defined in: batcher/createBatcher.ts:28
Selected state. Pass a selector to opt in; the default selection is an empty object.
subscribe#
ts
subscribe: LitPacerSubscribe<BatcherState<TValue>>;Defined in: batcher/createBatcher.ts:26
Subscribes a child owner to selected state with automatic cleanup.