Creates a debounced function that delays invoking callback until after delay milliseconds
Function to debounce
Milliseconds to delay
Debounced function with cancel method
Creates a debounced function that delays invoking callback until after delay milliseconds