docs: synchronized List<HandlerHolder> findHandlers(String topic) {
          List<HandlerHolder> handlers = new ArrayList<HandlerHolder>();
  
          List<HandlerHolder> discreteHandlers = discreteEventHandlers.get(topic);
          if (discreteHandlers != null) {
              handlers.addAll(discreteHandlers);
          }
  
          for (Map.Entry<String, List<HandlerHolder>> entry : wildcardEventHandlers.entrySet()) {
              if (topic.startsWith(entry.getKey())) {
                  handlers.addAll(entry.getValue());
              }
          }
  
          return handlers;
      }