Defined in: batcher/BatcherController.ts:8
Owns a Batcher for a Lit host. Access core methods and selected state through pacer.
TValue
TSelected = { }
new BatcherController<TValue, TSelected>(
host,
fn,
options?,
selector?): BatcherController<TValue, TSelected>;Defined in: batcher/BatcherController.ts:10
ReactiveControllerHost
(items) => void
LitPacerOptions<LitBatcherOptions<TValue, TSelected>> = {}
(state) => TSelected
BatcherController<TValue, TSelected>
readonly pacer: LitBatcher<TValue, TSelected>;Defined in: batcher/BatcherController.ts:9
get state(): Readonly<TSelected>;Defined in: batcher/BatcherController.ts:20
Selected reactive state. Reading this property participates in host rendering.
Readonly<TSelected>