How to concatenate function calls with timeouts?

Compact syntax with timing methods:

1 $.wait(first-timeout, function(){  })
2   .wait(second-timeout, function(){  })
3   .wait(third-timeout, function(){  });

Compare this to the old way with more syntactic fluff:

1 setTimeout(function(){
2   
3   setTimeout(function(){
4     
5     setTimeout(function(){
6       
7     }, third-timeout);
8   }, second-timeout);
9 }, first-timeout);

Similar patterns with callbacks

Similar patterns with timeouts