function updateTimeoutValues(timeoutString) {
  lastUpdateTime = Date.now();
  const timeout = parseTimeout(timeoutString);

  if (timeout === minAspectTimeout) {
    minTimeoutCount++;
  }

  if (timeout < minAspectTimeout) {
    minAspectTimeout = timeout;
    minTimeoutCount = 1;
    setupTimeoutInterval();
  }

  if (timeout > maxAspectTimeout) {
    maxAspectTimeout = timeout;
  }
}
/**
 * Check if the aspect timeout values need to be updated when a sample is
 * added or updated.
 * @param {String} timeoutString - a timeout string from a sample
 */
Check if the aspect timeout values need to be updated when a sample is
added or updated.
@param {String} timeoutString - a timeout string from a sample
Check if the aspect timeout values need to be updated when a sample is added or updated . @param { String } timeoutString - a timeout string from a sample
function updateTimeoutValues(timeoutString) {
  lastUpdateTime = Date.now();
  const timeout = parseTimeout(timeoutString);
  if (timeout === minAspectTimeout) {
    minTimeoutCount++;
  }
  if (timeout < minAspectTimeout) {
    minAspectTimeout = timeout;
    minTimeoutCount = 1;
    setupTimeoutInterval();
  }
  if (timeout > maxAspectTimeout) {
    maxAspectTimeout = timeout;
  }
}
function updateTimeoutValues ( timeoutString ) { lastUpdateTime = Date . now ( ) ; const timeout = parseTimeout ( timeoutString ) ; if ( timeout === minAspectTimeout ) { minTimeoutCount ++ ; } if ( timeout < minAspectTimeout ) { minAspectTimeout = timeout ; minTimeoutCount = 1 ; setupTimeoutInterval ( ) ; } if ( timeout > maxAspectTimeout ) { maxAspectTimeout = timeout ; } }
Check if the aspect timeout values need to be updated when a sample is
 added or updated.
Check if the aspect timeout values need to be updated when a sample is added or updated .