Creates a debounced version of a function.
The type of the original function.
The function to debounce.
Optional
The delay in milliseconds before executing the debounced function.
Creates a debounced version of a function.