void () { UIUtil.invokeLaterIfNeeded(() -> { if (isDisposed()) { return; } VirtualFile selectedFile = DvcsUtil.getSelectedFile(getProject()); myUpdateBackgroundAlarm.cancelAllRequests(); myUpdateBackgroundAlarm.addRequest(() -> { if (isDisposed()) { clearStatus(); return; } if (!ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(() -> { updateOnBackground(selectedFile); })) { updateLater(); } }, 10); }); }