docs: protected List<RedisFuture<Void>> resubscribe() {
  
          List<RedisFuture<Void>> result = new ArrayList<>();
  
          if (endpoint.hasChannelSubscriptions()) {
              result.add(async().subscribe(toArray(endpoint.getChannels())));
          }
  
          if (endpoint.hasPatternSubscriptions()) {
              result.add(async().psubscribe(toArray(endpoint.getPatterns())));
          }
  
          return result;
      }