Commit Graph

3 Commits

Author SHA1 Message Date
Arthurk12
926233ec55 fix(debounce): reset timeout when leading is true
Fixes the debounce function to work properly when leading is true by
adding a condition to reset and reschedule the timeout whenever
a subsequent call happens whithin the delay timeframe.
2024-06-17 16:44:02 -03:00
Ramón Souza
38c6da7c29 add comment about debounce function 2023-08-09 15:42:21 -03:00
Ramón Souza
c55a9b43b3 add debounce function 2023-08-09 13:06:27 -03:00