Throttle

verb

say it: “THROT-ul” /ˈθrɒtəl/

To limit a function so it runs at most once in a set time, however often it is called.

What is Throttle in JavaScript?

Throttle — A technique that limits how often repeated calls may run.

In a sentence

  • “I throttled the scroll handler so it updates the progress bar at most every 100 milliseconds.”
  • “The game throttles the fire button to one shot every half second.”

Level: Freelancer · More JavaScript terms at this level

Updated