Class CffuFactory.TupleOps

java.lang.Object
io.foldright.cffu2.CffuFactory.TupleOps
Enclosing class:
CffuFactory

public final class CffuFactory.TupleOps extends Object
The tuple-based variants of methods from CffuFactory for processing and composing multiple asynchronous actions and CompletableFutures in a type-safe manner.

While CffuFactory uses array-based methods with varargs, this class uses strongly typed tuples containing 2 to 5 elements. The tuple approach provides better type safety when working with a fixed number of heterogeneous actions or CompletableFutures, as type mismatches are caught at compile time rather than runtime.

See Also: