lib/index.js
function(callback, delay, repetitions) {
  var x = 0;
  var intervalID = setInterval(function () {
    if (++x === repetitions) {
      clearInterval(intervalID);
      receive_interval_timer = false;
    }
    callback();
  }, delay);
  return intervalID;
}
function(callback, delay, repetitions) {
  var x = 0;
  var intervalID = setInterval(function () {
    if (++x === repetitions) {
      clearInterval(intervalID);
      receive_interval_timer = false;
    }
    callback();
  }, delay);
  return intervalID;
}
function ( callback , delay , repetitions ) { var x = 0 ; var intervalID = setInterval ( function ( ) { if ( ++ x === repetitions ) { clearInterval ( intervalID ) ; receive_interval_timer = false ; } callback ( ) ; } , delay ) ; return intervalID ; }
Internal helper function for scoped intervals
@private
Internal helper function for scoped intervals