pause = timeout => {
    return new Promise(resolve => setTimeout(resolve, timeout));
  }
@param {Number} timeout The number of milliseconds to pause for.
@return {Promise} A promise that resolves after a specified delay.