AngularAsyncDebouncer
Defined in: async-debouncer/injectAsyncDebouncer.ts:27
Extends
Omit<AsyncDebouncer<TFn>,"store"|"options"|"setOptions">
Type Parameters
TFn
TFn extends AnyAsyncFunction
TSelected
TSelected = {
}
Properties
options
options: AsyncDebouncerOptions<TFn> & AngularAsyncDebouncerOptions<TFn, TSelected>;Defined in: async-debouncer/injectAsyncDebouncer.ts:31
setOptions
setOptions: (options) => void;Defined in: async-debouncer/injectAsyncDebouncer.ts:33
Parameters
options
Partial<AngularAsyncDebouncerOptions<TFn, TSelected>>
Returns
void
state
readonly state: Signal<Readonly<TSelected>>;Defined in: async-debouncer/injectAsyncDebouncer.ts:41
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: async-debouncer/injectAsyncDebouncer.ts:46
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.