debounce
Provides a debounced event listener
    canBatch.debounce(handler)
  
  Makes sure an event handler function is only run once per batch.
Parameters
- handler 
{function}:The handler that will be executed to handle the event.
 
Returns
 {function}: 
The debounced function