Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.15 KB

File metadata and controls

52 lines (31 loc) · 1.15 KB
id AngularBatcher
title AngularBatcher

Interface: AngularBatcher<TValue, TSelected>

Defined in: angular-pacer/src/batcher/injectBatcher.ts:20

Extends

  • Omit<Batcher<TValue>, "store">

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

state

readonly state: Signal<Readonly<TSelected>>;

Defined in: angular-pacer/src/batcher/injectBatcher.ts:29

Reactive state signal that will be updated when the batcher state changes

Use this instead of batcher.store.state


store

readonly store: Store<Readonly<BatcherState<TValue>>>;

Defined in: angular-pacer/src/batcher/injectBatcher.ts:34

Deprecated

Use batcher.state instead of batcher.store.state if you want to read reactive state. The state on the store object is not reactive in Angular signals.