Click the meters repeatedly. Events throttled/filtered by 1 second.
_.throttle()
will fire once, and subsequent clicks will fire
only after 1 second has passed—but the subsequent click will happen.
This is not good for filtering double-clicks.
_.debounce()
(with a
true
third parameter)
will
filter
subsequent clicks.
This
is
good for filtering accidental clicks.