T - The type of result of the CompletableFutureWaitResultBuilder<T>, WaitResultBuilder1<T>WaitResultImplpublic interface WaitResultBuilder2<T>
CompletableFuture to specify the
condition to accept a result.| Modifier and Type | Method | Description |
|---|---|---|
WaitResultBuilder3<T> |
expecting(Predicate<T> acceptingClause) |
Specify the condition that accept the result.
|
WaitResultBuilder3<T> expecting(Predicate<T> acceptingClause)
acceptingClause - the Predicate to validate the resultthe next step of the builderCopyright © 2019. All rights reserved.