<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DebouncedFunction](./x-components.debouncedfunction.md)

## DebouncedFunction interface

The type returned by the [debounce()](./x-components.debounce.md) function. Basically is the function the [debounce()](./x-components.debounce.md) receives but debounced and with a method `cancel()` to cancel pending timeouts.

**Signature:**

```typescript
export interface DebouncedFunction<Params extends any[]> 
```

## Methods

|  Method | Description |
|  --- | --- |
|  [cancel()](./x-components.debouncedfunction.cancel.md) |  |

