3 ms·
It depends on the application. If you wanted to debounce, for example, user autocomplete inputs that will be fed as a search term into your service, generally y
by appplication 2y ago
It depends on the application. If you wanted to debounce, for example, user autocomplete inputs that will be fed as a search term into your service, generally you would not want to start returning results when a user types the first letter “a” and continues typing, but instead wait for the user to stop typing for a fraction of a second.
If you have exceptional resources you may choose to not debounce at all, but for applications with latency behind it, it can make more sense to just wait for the user to signal they are done.