MCPcopy Create free account
hub / github.com/traneio/future / biFlatMap

Method biFlatMap

future-java/src/main/java/io/trane/future/Future.java:446–446  ·  view source on GitHub ↗

Waits for this and other (running in parallel), maps the result with f, and flattens the result. @param other The other future that becomes the second parameter of f. @param f the mapping function. The first parameter is the result of this and the second the result of other. @r

(Future<U> other, BiFunction<? super T, ? super U, ? extends Future<R>> f)

Source from the content-addressed store, hash-verified

444 * @return the mapped and flattened future.
445 */
446 <U, R> Future<R> biFlatMap(Future<U> other, BiFunction<? super T, ? super U, ? extends Future<R>> f);
447
448 /**
449 * Runs r when this future completes.

Callers 8

biFlatMapMethod · 0.65
biFlatMapInterruptMethod · 0.65
biFlatMapMethod · 0.65
biFlatMapMethod · 0.65
biFlatMapExceptionMethod · 0.65
biFlatMapMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by 7

biFlatMapMethod · 0.52
biFlatMapInterruptMethod · 0.52
biFlatMapMethod · 0.52
biFlatMapMethod · 0.52
biFlatMapExceptionMethod · 0.52
biFlatMapMethod · 0.52