Open History to see the last commit
Defined in: async-debouncer/useAsyncDebouncer.ts:23
An AsyncDebouncer with framework-reactive selected state. All core methods remain available.
Extends#
Omit<AsyncDebouncer<TFn>,"options"|"setOptions">
Type Parameters#
TFn#
TFn extends AnyAsyncFunction
TSelected#
TSelected = {
}
Properties#
options#
options: AsyncDebouncerOptions<TFn> & VueAsyncDebouncerOptions<TFn, TSelected>;
Defined in: async-debouncer/useAsyncDebouncer.ts:27
setOptions#
setOptions: (options) => void;
Defined in: async-debouncer/useAsyncDebouncer.ts:29
Parameters#
options#
Partial<VueAsyncDebouncerOptions<TFn, TSelected>>
Returns#
void
state#
readonly state: Readonly<ShallowRef<TSelected>>;
Defined in: async-debouncer/useAsyncDebouncer.ts:35
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe#
Subscribe: VuePacerSubscribe<AsyncDebouncerState<TFn>>;
Defined in: async-debouncer/useAsyncDebouncer.ts:33
Subscribes a scoped slot to state without re-rendering the utility owner.