Function to debounce used to improve the performance of frequently executed actions. Guarantees the regular execution of an action.
Timer arg
a new function, which when executed, stores the call arguments and starts the cooldown timer
Function to debounce used to improve the performance of frequently executed actions. Guarantees the regular execution of an action.