void (@NotNull Template tmpl, boolean brokenOff) { ModCommand next = ProgressManager.getInstance().runProcessWithProgressSynchronously(() -> { return ReadAction.nonBlocking(() -> template.templateFinishFunction().apply(psiFile)).executeSynchronously(); }, name, true, context.project()); CommandProcessor.getInstance().executeCommand(context.project(), () -> executeInteractively(context, next, editor), name, null); }