Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.3 KB

File metadata and controls

52 lines (31 loc) · 1.3 KB
id AngularAsyncDebouncer
title AngularAsyncDebouncer

Interface: AngularAsyncDebouncer<TFn, TSelected>

Defined in: angular-pacer/src/async-debouncer/injectAsyncDebouncer.ts:25

Extends

  • Omit<AsyncDebouncer<TFn>, "store">

Type Parameters

TFn

TFn extends AnyAsyncFunction

TSelected

TSelected = { }

Properties

state

readonly state: Signal<Readonly<TSelected>>;

Defined in: angular-pacer/src/async-debouncer/injectAsyncDebouncer.ts:34

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

Use this instead of debouncer.store.state


store

readonly store: Store<Readonly<AsyncDebouncerState<TFn>>>;

Defined in: angular-pacer/src/async-debouncer/injectAsyncDebouncer.ts:39

Deprecated

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