---
title: debounce
---

## debounce

::: warning
请注意了解 `debounce` 和 `throttle` 的区别。如果尚不清楚，请`google`之。
:::

``` js
import { debounce } from 'vux'

debounce(func, [wait=0], [options={}])
```
[详细文档](https://lodash.com/docs/#debounce)

## throttle

``` js
import { throttle } from 'vux'

throttle(func, [wait=0], [options={}])
```

[详细文档](https://lodash.com/docs/#throttle)
