@Deprecated
  static @NotNull AppUIExecutor onWriteThread(@NotNull ModalityState modality) {
    return AsyncExecutionService.getService().createWriteThreadExecutor(modality);
  }
@Deprecated
  static @NotNull AppUIExecutor onWriteThread(@NotNull ModalityState modality)