dist/client/lance-gg.js
/**
     * schedule a function to be called
     *
     * @param {Object} options the options
     * @param {Function} options.tick the function to be called
     * @param {Number} options.period number of milliseconds between each invocation, not including the function's execution time
     * @param {Number} options.delay number of milliseconds to add when delaying or hurrying the execution
     */
schedule a function to be called
@param {Object} options the options
@param {Function} options.tick the function to be called
@param {Number} options.period number of milliseconds between each invocation, not including the function's execution time
@param {Number} options.delay number of milliseconds to add when delaying or hurrying the execution
schedule a function to be called @param { Object } options the options @param { Function } options . tick the function to be called @param { Number } options . period number of milliseconds between each invocation not including the function ' s execution time @param { Number } options . delay number of milliseconds to add when delaying or hurrying the execution
function Scheduler(options) {
      _classCallCheck(this, Scheduler);
      this.options = Object.assign({
        tick: null,
        period: SIXTY_PER_SEC,
        delay: SIXTY_PER_SEC / 3
      }, options);
      this.nextExecTime = null;
      this.requestedDelay = 0;
      this.delayCounter = 0; 
      var eventEmitter$1 = new eventEmitter();
      this.on = eventEmitter$1.on;
      this.once = eventEmitter$1.once;
      this.removeListener = eventEmitter$1.removeListener;
      this.emit = eventEmitter$1.emit;
    } 
function Scheduler ( options ) { _classCallCheck ( this , Scheduler ) ; this . options = Object . assign ( { tick : null , period : SIXTY_PER_SEC , delay : SIXTY_PER_SEC / 3 } , options ) ; this . nextExecTime = null ; this . requestedDelay = 0 ; this . delayCounter = 0 ; var eventEmitter$1 = new eventEmitter ( ) ; this . on = eventEmitter$1 . on ; this . once = eventEmitter$1 . once ; this . removeListener = eventEmitter$1 . removeListener ; this . emit = eventEmitter$1 . emit ; }
schedule a function to be called
 @param {Object} options the options
 @param {Function} options.tick the function to be called
 @param {Number} options.period number of milliseconds between each invocation, not including the function's execution time
 @param {Number} options.delay number of milliseconds to add when delaying or hurrying the execution
schedule a function to be called @param { Object } options the options @param { Function } options . tick the function to be called @param { Number } options . period number of milliseconds between each invocation not including the function ' s execution time @param { Number } options . delay number of milliseconds to add when delaying or hurrying the execution
// mixin for EventEmitter // in same cases, setTimeout is ignored by the browser,