Package io.foldright.cffu2
@DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class)
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
package io.foldright.cffu2
A tiny library that improves the CompletableFuture(CF) usage experience and reduces misuse,
enabling more convenient, efficient, and safe use of CompletableFuture in your application. 😋🚀🦺
- The core classes are
Cffu/CffuFactory. - the core util class
CompletableFutureUtilsofCompletableFuturecontains the enhanced and backport methods forCompletableFuture.
- Author:
- Jerry Lee (oldratlee at gmail dot com)
- See Also:
-
ClassDescriptionCffu<T>This class
Cffuis the equivalent class toCompletableFuture, contains the equivalent instance methods ofCompletionStageandCompletableFuture.This classCffuFactoryis equivalent toCompletableFuture, contains the static (factory) methods ofCompletableFuture.This class is the same asFuture.State, existed for java version compatibility.This utility class providesIterable-based variants (includingCollection,List, etc.) of same-named varargs methods fromCompletableFutureUtils.Utility class for async parallel data processing using CompletableFuture.This Utility class provides tuple-based variants of methods fromCompletableFutureUtilsfor processing and composing multiple asynchronous actions and CompletableFutures in a type-safe manner.Utility class providing enhanced and backport methods forCompletableFuture.Low Level CompletableFuture utility methods for manipulating CompletableFuture.Cffu with result typeIterable(aka.Exception indicates that NO cfs(CompletionStage, including subclassCffu/CompletableFuture) are provided for methods that require cf arguments.