private void processFilesInReadActionWithYieldingToWriteAction() {
    while (getEventMerger().hasChanges()) {
      ReadAction.nonBlocking((Callable<Void>)() -> {
        processFilesToUpdateInReadAction();
        return null;
      }).executeSynchronously();
    }
  }
private void processFilesInReadActionWithYieldingToWriteAction()