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

Method transformWith

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

Maps the result of this future using a Transformer that returns another future and flattens the result. If this future completes successfully, transformer.onValue is called. If this future completes with an exception, transformer.onException is called. @param t a Transformer that applies the trans

(Transformer<? super T, ? extends Future<R>> t)

Source from the content-addressed store, hash-verified

422 * @return a future tranformed by the Transformer.
423 */
424 <R> Future<R> transformWith(Transformer<? super T, ? extends Future<R>> t);
425
426 /**
427 * Waits for this and other (running in parallel) and then maps the result

Callers 8

transformWithMethod · 0.65
transformWithMethod · 0.65
transformWithMethod · 0.65
transformWithMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by 7

transformWithMethod · 0.52
transformWithMethod · 0.52
transformWithMethod · 0.52
transformWithMethod · 0.52