Hi, I have a question on something.
I have something like this:
@Transactional
@Async
Public void persistObjects() {
List<Object> someObjects = apiService.getAllObjects();
repo.saveObjects(someObjects);
otherApiService.loadObjects(someObjects); //How can I make sure this call is only called after saveObjects() is done completely mainly because this method is also currently async for performance benefits?
}