nfrankel
CompletionStage
val person = cache.getAsync(id).await() return if (person == null) repository.findById(id) else person
jw
return cache.getAsync(id).await() ?: repository.findById(id)
A modern programming language that makes developers happier.