void (@NotNull PluginId id, @NotNull ActionCallback callback, boolean isDone) { synchronized (ourInstallLock) { ActionCallback oldValue = ourInstallCallbacks.get(id); if (oldValue == callback) { ourInstallCallbacks.remove(id); } } if (isDone) { callback.setDone(); } else { callback.setRejected(); } }