Throttling Tracker.autorun


#1

It’d be nice if there was a built-into-Meteor way to throttle Track.autoruns. F.e.

Tracker.autorun(function() {...}, 1000) // fire only once every second if updates are happening really fast.

#2

you can stop autorun and call Timeout to start new one in second.


#3

Not sure if this would work but you could wrap that function inside a _.debounce().