boolean (@NotNull ApplicationEx application, @NotNull Runnable cancellation, @NotNull Runnable action) { return ProgressIndicatorUtilService.getInstance(application).runActionAndCancelBeforeWrite(cancellation, action); }