src/hft/scripts/misc/timeout.js
function(callback, timeInMs) {
    var timeout = makeTimeout(callback);
    setTriggerTime(timeout, timeInMs);
    s_timeoutsToInsert.push(timeout);
    return timeout.id;
  }
function(callback, timeInMs) {
    var timeout = makeTimeout(callback);
    setTriggerTime(timeout, timeInMs);
    s_timeoutsToInsert.push(timeout);
    return timeout.id;
  }
function ( callback , timeInMs ) { var timeout = makeTimeout ( callback ) ; setTriggerTime ( timeout , timeInMs ) ; s_timeoutsToInsert . push ( timeout ) ; return timeout . id ; }
Same as normal setTimeout
@param {callback} callback function to call when it times out
@param {number} timeInMs duration of timeout
@return {number} id for timeout
@memberOf module:Timeout
Same as normal setTimeout