Open History to see the last commit
Defined in: debouncer/createDebouncer.ts:13
Options for createDebouncer, including owner cleanup.
Extends#
DebouncerOptions<TFn>
Type Parameters#
TFn#
TFn extends AnyFunction
TSelected#
TSelected = {
}
Properties#
onUnmount?#
optional onUnmount?: (instance) => void;
Defined in: debouncer/createDebouncer.ts:18
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters#
instance#
AlpineDebouncer<TFn, TSelected>
Returns#
void