@ApiStatus.Internal
  public static @NotNull PluginUpdatesService connectWithUpdates(@NotNull Consumer<@Nullable InternalPluginResults> callback) {
    PluginUpdatesService service = new PluginUpdatesService();
    service.myUpdateCallbacks = Collections.singletonList(callback);
    synchronized (ourLock) {
      SERVICES.add(service);
      if (ourPrepared) {
        callback.accept(getFilteredUpdateResult());
      }
    }
    return service;
  }
@ApiStatus.Internal
  public static @NotNull PluginUpdatesService connectWithUpdates(@NotNull Consumer<@Nullable InternalPluginResults> callback)