Throttle

Verb · Development

Definitions

  1. A technique that limits function execution to at most once per specified time interval, regardless of how many times it's triggered. Unlike debounce (which waits for inactivity), throttle guarantees periodic execution. Used for scroll handlers, resize events, and rate-limited API calls.

    In plain English: Limiting how often something can happen, like only checking scroll position a few times per second instead of constantly.

    Example: "Throttle the scroll handler to fire at most once every 100ms — without it, the intersection observer callback runs hundreds of times per second."

Related Terms