public void setResultsNotifyCallback(@NotNull Consumer<@NotNull @Nls String> notifyCallback) {
      for (SearchEverywhereContributor<?> contributor : contributors) {
        var effectiveContributor = (contributor instanceof SearchEverywhereContributorWrapper wrapper)
                                   ? wrapper.getEffectiveContributor() : contributor;

        if (effectiveContributor instanceof SearchEverywhereResultsNotifier notifierContributor) {
          notifierContributor.setNotifyCallback(notifyCallback);
        }
      }
    }
public void setResultsNotifyCallback(@NotNull Consumer<@NotNull @Nls String> notifyCallback)