I use underscore.js to run task.
_.debounce(task, 100)
How stop executing _.debounce?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
_.debouncedoes not execute anything, so you cannot stop it. It returns a new function which takes care of the debouncing.If you don’t want to use it anymore, just use the original function.
Have a look at the documentation for more information.