56
rated 0 times
[
60]
[
4]
/ answers: 1 / hits: 49437
/ 9 Years ago, thu, march 12, 2015, 12:00:00
I create a debounced version of a function with underscore:
var debouncedThing = _.debounce(thing, 1000);
Once debouncedThing is called...
debouncedThing();
...is there any way to cancel it, during the wait period before it actually executes?
More From » underscore.js