Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.24 KB

File metadata and controls

52 lines (31 loc) · 1.24 KB
id AngularAsyncBatcher
title AngularAsyncBatcher

Interface: AngularAsyncBatcher<TValue, TSelected>

Defined in: angular-pacer/src/async-batcher/injectAsyncBatcher.ts:24

Extends

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

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

state

readonly state: Signal<Readonly<TSelected>>;

Defined in: angular-pacer/src/async-batcher/injectAsyncBatcher.ts:33

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

Use this instead of batcher.store.state


store

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

Defined in: angular-pacer/src/async-batcher/injectAsyncBatcher.ts:38

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.