Skip to content

Commit

Permalink
feat: implement bothFastFail/eitherSuccess methods ☘️
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Apr 25, 2024
1 parent fa77cd5 commit 1f1ea22
Show file tree
Hide file tree
Showing 3 changed files with 463 additions and 24 deletions.
4 changes: 2 additions & 2 deletions cffu-core/src/main/java/io/foldright/cffu/Cffu.java
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,8 @@ public <T2, T3, T4, T5> Cffu<Tuple5<T, T2, T3, T4, T5>> cffuCombineFastFail(
//# `then either(binary input)` methods of CompletionStage:
//
// - runAfterEither*(Runnable): Void, Void -> Void
// - acceptEither*(BiConsumer): (T1, T2) -> Void
// - applyToEither*(BiFunction): (T1, T2) -> U
// - acceptEither*(Consumer): (T, T) -> Void
// - applyToEither*(Function): (T, T) -> U
////////////////////////////////////////////////////////////////////////////////

/**
Expand Down
2 changes: 1 addition & 1 deletion cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**
* This class {@link CffuFactory} is equivalent to {@link CompletableFuture},
* contains the static factory methods of {@link CompletableFuture}.
* contains the static (factory) methods of {@link CompletableFuture}.
* <p>
* The methods that equivalent to the instance methods of {@link CompletableFuture} is in {@link Cffu} class.
* <p>
Expand Down
Loading

0 comments on commit 1f1ea22

Please sign in to comment.