Open History to see the last commit
1---
2id: AlpineDebouncerOptions
3title: AlpineDebouncerOptions
4---
5
6Defined in: [debouncer/createDebouncer.ts:13](https://github.com/TanStack/pacer/blob/main/packages/alpine-pacer/src/debouncer/createDebouncer.ts#L13)
7
8Options for createDebouncer, including owner cleanup.
9
10## Extends
11
12- `DebouncerOptions`\<`TFn`\>
13
14## Type Parameters
15
16### TFn
17
18`TFn` *extends* `AnyFunction`
19
20### TSelected
21
22`TSelected` = \{
23\}
24
25## Properties
26
27### onUnmount?
28
29```ts
30optional onUnmount?: (instance) => void;
31```
32
33Defined in: [debouncer/createDebouncer.ts:18](https://github.com/TanStack/pacer/blob/main/packages/alpine-pacer/src/debouncer/createDebouncer.ts#L18)
34
35Replaces default cleanup. Use this to flush, cancel, or stop pending work.
36
37#### Parameters
38
39##### instance
40
41[`AlpineDebouncer`](AlpineDebouncer.md)\<`TFn`, `TSelected`\>
42
43#### Returns
44
45`void`