AngularDebouncer
Defined in: debouncer/injectDebouncer.ts:26
Extends
Omit<Debouncer<TFn>,"store"|"options"|"setOptions">
Type Parameters
TFn
TFn extends AnyFunction
TSelected
TSelected = {
}
Properties
options
options: DebouncerOptions<TFn> & AngularDebouncerOptions<TFn, TSelected>;Defined in: debouncer/injectDebouncer.ts:30
setOptions
setOptions: (options) => void;Defined in: debouncer/injectDebouncer.ts:31
Parameters
options
Partial<AngularDebouncerOptions<TFn, TSelected>>
Returns
void
state
readonly state: Signal<Readonly<TSelected>>;Defined in: debouncer/injectDebouncer.ts:39
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: debouncer/injectDebouncer.ts:44
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.