I\'m trying to debounce a function using Lodash, and while it\'s invoking the function, it doesn\'t seem to debounce it at all. My issue doesn\'t seem to be the same mistake
Try this:
s._makeSearchRequest = function() { console.log("making search request"); } s.search = _.debounce( s._makeSearchRequest, 1000 );
POC: http://jsfiddle.net/bvaughn/3saj6znk/