How to repeat actions on interval with a closed loop?

Compact syntax with timing methods:

1
$('.some').repeat(interval).doThis().until(false);

The closing command .until(false) can be skipped for infinite loops.

Compare this to the old way with more syntactic fluff:

1
2
3
setInterval(function(){
  $('.some').doThis();
}, interval);

Similar patterns with closed loops

Similar patterns with intervals

Similar patterns with sequential loops