<!-- 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[]> 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[cancel](./x-components.debouncedfunction.cancel.md)


</td><td>


</td><td>

() =&gt; void


</td><td>


</td></tr>
</tbody></table>

