score:3

Might not be the best solution, but it may help.

underscorejs' throttle takes a function and a minimum time between executions of the function and returns a function that will only call the function specified at most once every wait milliseconds.

_.throttle(func, wait, [options])

info


Related Query

More Query from same tag