v1.1.9
π Happy with
cffu! π¦ and be a "shifu"~ π
βοΈ Features
add method LLCF.relayAsync0, support the fourth way "relay async" to arrange a new stage's computations ποΈ
In
CompletionStage/CompletableFuture, execution of a new stage's computations may be arranged in any of three ways:
- default execution,
- default asynchronous execution (using methods with suffix async that employ the stage's default asynchronous execution facility),
- or custom asynchronous execution (via a supplied Executor).
- reference from the javadoc of
CompletionStage
π§ͺ Tests
add demo of "Execution order of sync actions added to a future" π§ͺ
π Documentation
- improve javadoc of
peek*methods
π API Docs
cffu Java API doc: https://foldright.io/api-docs/cffu/1.1.9/
πͺ Maven dependencies
cffu core lib, including cffu enhancement for Java CompletableFuture:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.1.9</version>
</dependency>cffu executor wrapper SPI implementation for π TransmittableThreadLocal(TTL):
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<version>1.1.9</version>
<scope>runtime</scope>
</dependency>