How to interrupt timeouts from static usage of wait()?

Compact syntax with timing methods:

1
2
// $.wait(timeout)…
$.unwait();

Compare this to the old way with more syntactic fluff:

1
2
// var timer = setTimeout(function(){ … }, timeout))
clearTimeout(timer);

Similar patterns with chain interruption

Similar patterns with timeouts