Modifier and Type | Method and Description |
---|---|
<R> Future<R> |
yield(BiFunction<? super T1,? super T2,? extends R> f)
Yields a result for elements of the cross product of the underlying Futures.
|
public <R> Future<R> yield(BiFunction<? super T1,? super T2,? extends R> f)
R
- type of the resulting Future
elementsf
- a function that maps an element of the cross product to a resultFuture
of mapped resultsCopyright © 2021. All Rights Reserved.