---
title: "Debounce, throttle and timers · vuejs.school"
description: "Slow down fast events with debounced refs and throttled functions, and run timers that stop themselves."
canonical_url: "https://vuejs.school/learn/vueuse/debounce-throttle-and-timers"
meta:
  "og:description": "Slow down fast events with debounced refs and throttled functions, and run timers that stop themselves."
  "og:image": "https://vuejs.school/_og/d/a_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnMgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnM%2Cdescription_~U2xvdyBkb3duIGZhc3QgZXZlbnRzIHdpdGggZGVib3VuY2VkIHJlZnMgYW5kIHRocm90dGxlZCBmdW5jdGlvbnMsIGFuZCBydW4gdGltZXJzIHRoYXQgc3RvcCB0aGVtc2VsdmVzLg%2Ceyebrow_~VnVlVXNlIMK3IExlc3NvbiAzIG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi92dWV1c2UvZGVib3VuY2UtdGhyb3R0bGUtYW5kLXRpbWVycyI%2Cs_-JfY_nuqr4HxkXYT.png"
  "og:image:alt": "Debounce, throttle and timers · vuejs.school"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Debounce, throttle and timers · vuejs.school"
  "twitter:image": "https://vuejs.school/_og/d/a_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnMgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnM%2Cdescription_~U2xvdyBkb3duIGZhc3QgZXZlbnRzIHdpdGggZGVib3VuY2VkIHJlZnMgYW5kIHRocm90dGxlZCBmdW5jdGlvbnMsIGFuZCBydW4gdGltZXJzIHRoYXQgc3RvcCB0aGVtc2VsdmVzLg%2Ceyebrow_~VnVlVXNlIMK3IExlc3NvbiAzIG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi92dWV1c2UvZGVib3VuY2UtdGhyb3R0bGUtYW5kLXRpbWVycyI%2Cs_-JfY_nuqr4HxkXYT.png"
  "twitter:image:alt": "Debounce, throttle and timers · vuejs.school"
---

> Index of every page on this site: [llms.txt](https://vuejs.school/llms.txt)

# **Debounce, throttle and timers**

Slow down fast events with debounced refs and throttled functions, and run timers that stop themselves.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuejs.school/#website","@type":"WebSite","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school/","publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#webpage","@type":"WebPage","description":"Slow down fast events with debounced refs and throttled functions, and run timers that stop themselves.","name":"Debounce, throttle and timers","url":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers","breadcrumb":{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#breadcrumb"},"isPartOf":{"@id":"https://vuejs.school/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuejs.school/learn/vueuse/debounce-throttle-and-timers"]}],"primaryImageOfPage":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/#identity","@type":"Organization","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school","logo":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#article","description":"Slow down fast events with debounced refs and throttled functions, and run timers that stop themselves.","headline":"Debounce, throttle and timers","inLanguage":"en","isAccessibleForFree":true,"thumbnailUrl":"https://vuejs.school/_og/d/a_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnMgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnM%2Cdescription_~U2xvdyBkb3duIGZhc3QgZXZlbnRzIHdpdGggZGVib3VuY2VkIHJlZnMgYW5kIHRocm90dGxlZCBmdW5jdGlvbnMsIGFuZCBydW4gdGltZXJzIHRoYXQgc3RvcCB0aGVtc2VsdmVzLg%2Ceyebrow_~VnVlVXNlIMK3IExlc3NvbiAzIG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi92dWV1c2UvZGVib3VuY2UtdGhyb3R0bGUtYW5kLXRpbWVycyI%2Cs_-JfY_nuqr4HxkXYT.png","@type":["Article","TechArticle"],"articleSection":["Composables"],"author":{"@id":"https://vuejs.school/#identity"},"image":{"@id":"https://vuejs.school/#/schema/image/1"},"isPartOf":{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#webpage"},"keywords":["refDebounced()","watchDebounced()","useThrottleFn()","useIntervalFn()","useNow()"],"mainEntityOfPage":{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#webpage"},"publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/vueuse/debounce-throttle-and-timers#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Skill tree","item":"https://vuejs.school/track","position":1},{"@type":"ListItem","name":"VueUse","item":"https://vuejs.school/track/vueuse","position":2},{"@type":"ListItem","name":"Debounce, throttle and timers","position":3}]},{"@id":"https://vuejs.school/#logo","@type":"ImageObject","caption":"vuejs.school","contentUrl":"https://vuejs.school/apple-touch-icon.png","inLanguage":"en","url":"https://vuejs.school/apple-touch-icon.png"},{"@id":"https://vuejs.school/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuejs.school/_og/d/a_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnMgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnM%2Cdescription_~U2xvdyBkb3duIGZhc3QgZXZlbnRzIHdpdGggZGVib3VuY2VkIHJlZnMgYW5kIHRocm90dGxlZCBmdW5jdGlvbnMsIGFuZCBydW4gdGltZXJzIHRoYXQgc3RvcCB0aGVtc2VsdmVzLg%2Ceyebrow_~VnVlVXNlIMK3IExlc3NvbiAzIG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi92dWV1c2UvZGVib3VuY2UtdGhyb3R0bGUtYW5kLXRpbWVycyI%2Cs_-JfY_nuqr4HxkXYT.png","inLanguage":"en","url":"https://vuejs.school/_og/d/a_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnMgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_~RGVib3VuY2UsIHRocm90dGxlIGFuZCB0aW1lcnM%2Cdescription_~U2xvdyBkb3duIGZhc3QgZXZlbnRzIHdpdGggZGVib3VuY2VkIHJlZnMgYW5kIHRocm90dGxlZCBmdW5jdGlvbnMsIGFuZCBydW4gdGltZXJzIHRoYXQgc3RvcCB0aGVtc2VsdmVzLg%2Ceyebrow_~VnVlVXNlIMK3IExlc3NvbiAzIG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi92dWV1c2UvZGVib3VuY2UtdGhyb3R0bGUtYW5kLXRpbWVycyI%2Cs_-JfY_nuqr4HxkXYT.png"}]}
```