T
- public interface LazyResultConsumer<T> extends java.util.function.Consumer<FastFuture<T>>
Modifier and Type | Method and Description |
---|---|
void |
block(java.util.function.Function<FastFuture<T>,T> safeJoin) |
java.util.Collection<FastFuture<T>> |
getAllResults() |
java.util.Collection<FastFuture<T>> |
getResults() |
LazyResultConsumer<T> |
withResults(java.util.Collection<FastFuture<T>> t)
Used to generate a new instance for result collection - populates the supplied Collection
|
LazyResultConsumer<T> withResults(java.util.Collection<FastFuture<T>> t)
t
- Collection to be populatedjava.util.Collection<FastFuture<T>> getResults()
java.util.Collection<FastFuture<T>> getAllResults()
void block(java.util.function.Function<FastFuture<T>,T> safeJoin)