cffu
cffu copied to clipboard
🦝 Java CompletableFuture-Fu ("CF-Fu", pronounced "Shifu") is a tiny library that improves the CompletableFuture (CF) usage experience and reduces misuse, enabling more convenient, efficient, and safe...
目前`CompletableFuture`提供的都是最多两个入参的方法。 ```java CompletableFuture future1 = CompletableFuture.supplyAsync(() -> { Map result = Maps.newHashMap(); result.put("j", "j"); return result; }); future1.thenAccept((Map map) -> { System.out.println("thenAccept:" + map.get("j")); }); future1.thenCombine(CompletableFuture.completedFuture("123"), (map, s) -> {...
# 📚 Documentation ### 🦮 `CompletableFuture` Guide - 📌 design patterns of biz usage - 📌 best practice and traps - [ ] write English doc, and English first see...
Bumps `kotlin.version` from 1.9.25 to 2.0.10. Updates `org.jetbrains.kotlin:kotlin-bom` from 1.9.25 to 2.0.10 Release notes Sourced from org.jetbrains.kotlin:kotlin-bom's releases. Kotlin 2.0.10 2.0.10 Apple Ecosystem KT-68257 Xcode incorrectly reuses embedAndSign framework when...
I saw some methods do not require user to pass executors. It is often dangerous and error-prone to use common pool in Java. Why not remove methods that using common...
## 🎯 Determined 🆙 - [x] #196 - Suggestion from the author @linzee1 of article [*深入理解 Future, CompletableFuture, ListenableFuture,回调机制*](https://juejin.cn/post/7388332481739882547). 💕 - [x] #197 - this method is similar to `cffu#mostSuccessOf()`...
It is generally reccommand to use interface rather than specific class. Many users use CompletionStage despite of the underlying CompletableFuture. There are a bunch of new methods provided by CFFU,...
For multiple CF/Actions, this exception is used to: - stop fast the execution of the CF/Action that throws this exception - aka. flow control, not treat as biz error -...
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...