Creates a debounced version for a given function in a given delay (in ms).
is the shape of the function to debounce.
the original function
the delay in milliseconds (ms)
the debounced function
Creates a debounced version for a given function in a given delay (in ms).