foldright / cffu

🦝 Java CompletableFuture-Fu(CF-Fu, pronounced "Shifu"), a tiny sidekick library to make CompletableFuture usage more convenient, more efficient and safer in your application. 😋🚀🦺
https://github.com/foldright/cffu
Apache License 2.0
156 stars 21 forks source link

implement the `catching()` of `Guava ListenableFuture` #196

Closed oldratlee closed 2 months ago

oldratlee commented 2 months ago

subtask of #194

Suggestion from the author @linzee1 of article 深入理解 Future, CompletableFuture, ListenableFuture,回调机制. 💕

catching()​ methods of Guava ListenableFuture is best-practice, straightforward and convenient, nice.

According the naming convention of CompletableFuture, the implementing instance methods are:

📝 Implementation Note