@ApiStatus.Internal
  public static void compareAndSetCurrentState(@NotNull LoadingState expectedState, @NotNull LoadingState newState) {
    currentState.compareAndSet(expectedState, newState);
  }
@ApiStatus.Internal
  public static void compareAndSetCurrentState(@NotNull LoadingState expectedState, @NotNull LoadingState newState)