Defined in: batcher/createBatcher.ts:19
A Batcher with framework-reactive selected state. All core methods remain available.
TValue
TSelected = { }
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: (options) => void;Defined in: batcher/createBatcher.ts:24
Partial<LitBatcherOptions<TValue, TSelected>>
void
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: LitPacerSubscribe<BatcherState<TValue>>;Defined in: batcher/createBatcher.ts:26
Subscribes a child owner to selected state with automatic cleanup.