void (@NotNull @NlsContexts.ProgressTitle String title, @NotNull Progressive progressive) { var task = new Task.Backgroundable(null, title, true, PerformInBackgroundOption.ALWAYS_BACKGROUND) { @Override public void run(@NotNull ProgressIndicator indicator) { progressive.run(indicator); } }; ProgressManager.getInstance().run(task); }