title: Execute settimeout early
body: <p>I am using debouncing to execute events after a timeout using settimeout. The problem I have, is that other javascript events expect those events to occur synchronously. Since they are now executing after a timeout, I'd like to be able to trigger them prematurely by other javascript events (so those events requiring them won't fail).</p>
  
  <p>Anywhom, if I do something like:</p>
  
  <pre><code>timeout = setTimeout(function() { alert('hi'); }, 10000);
  </code></pre>
  
  <p>, and I want that to occur before 10 seconds passes, how can I do that?</p>
  
  <p>The solution can involve jquery if necessary. Thanks!</p>
  
  <p>Edit:
  Is it possible to do this with just access to the timeout object?</p>