Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.2 KB

File metadata and controls

52 lines (31 loc) · 1.2 KB
id AngularDebouncer
title AngularDebouncer

Interface: AngularDebouncer<TFn, TSelected>

Defined in: angular-pacer/src/debouncer/injectDebouncer.ts:24

Extends

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

Type Parameters

TFn

TFn extends AnyFunction

TSelected

TSelected = { }

Properties

state

readonly state: Signal<Readonly<TSelected>>;

Defined in: angular-pacer/src/debouncer/injectDebouncer.ts:33

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

Use this instead of debouncer.store.state


store

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

Defined in: angular-pacer/src/debouncer/injectDebouncer.ts:38

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.