elizarov
01/26/2017, 11:15 AMget
inappropriately, then you should not use CompletableFuture
at all. Use Deferred
instead (create it with defer(context) {…}
). Deferred
does not have get
at all (only await
), so there is no risk of accidentally blocking anything