code: function callMethod(name, params) {
      return (methodCache.has(name) || typeof params === 'undefined')
          ? asyncCall(name, params)
          : cacheCall(name, params);
  }
docs: Call a method as async via Asteroid, or through cache if one is created.
  If the method doesn't have or need parameters, it can't use them for caching
  so it will always call asynchronously.
  @param name The Rocket.Chat server method to call
  @param params Single or array of parameters of the method to call