throttle()
Very similar to debounce but where debounce happens only once at the end (or the beginning), throttle happens multiple times but limited to a set amount of time in between. Remember: there is no guarantee that an event will trigger at the end! If the action being throttled stops half-way into the cooldown, it will Read More »