void (@NotNull Object fileOrProject) { myDismissedObjects.remove(fileOrProject); CompletableFuture<CliResult> future = myFileOrProjectToCallback.remove(fileOrProject); if (future == null) { return; } future.complete(CliResult.OK); }