code: function logout() {
      return exports.asteroid.logout()
          .catch((err) => {
          log_1.logger.error('[Logout] Error:', err);
          throw err; // throw after log to stop async chain
      });
  }
docs: Logout of Rocket.Chat via Asteroid