JoeHegarty
05/17/2018, 5:57 AMCompletableFuture<Unit>, it's a little awkward but it's not really any more awkward than `CompletableFuure<Void>`or if you use just CompletableFuture as a rawtype which is pretty nasty for other reasons (though arguably more readable). It's a shame Java doesn't have something equivalent to Job in the futures space.araqnid
05/17/2018, 8:23 PMCompletableFuture<?> to indicate a job whose actual result type isn’t useful, rather than carrying around a reference to Void. so that would work just as well for one returning Unit