Debounce

verb

say it: “dee-BOUNSS” /diːˈbaʊns/

To make a function wait until a burst of calls has stopped for a set time, then run it once.

What is Debounce in JavaScript?

Debounce — A technique that delays work until rapid calls have stopped for a chosen time.

In a sentence

  • “I debounced the search box, so it looks up books only after the reader stops typing for 300 milliseconds.”
  • “We debounce the save so the notes app writes once after you pause, not on every key.”

Level: Freelancer · More JavaScript terms at this level

Updated