4 ms·
What's the interest in CompleteableFuture? It's probably my least favorite JDK addition...
by charleslmunger 10y ago
What's the interest in CompleteableFuture? It's probably my least favorite JDK addition...
- LeanderK 10y agoyeah, i feel like they messed up the api. easy integration into ratpack[1] non-blocking system. Propagation of the async-functionality through various classes without hardcoding an custom library-solution. [1] https://ratpack.io https://ratpack.io Also clumsy api, but performant for the required workloads.
- charleslmunger 10y agoMy biggest gripe isn't the massive API, it's the existence of the obtrude* methods - allowing a Future to change its completion result after it completes undermines the whole thing.