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

Method respond

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

Executes the Responder once this future completes. If this future completes successfully, responder.onValue is called. If this future completes with an exception, responder.onException is called. @param r the Responder to be executed. @return a future that completes with the result of this after

(Responder<? super T> r)

Source from the content-addressed store, hash-verified

482 * executed.
483 */
484 Future<T> respond(Responder<? super T> r);
485
486 /**
487 * If this future completes with an exception, applies the provided rescue

Callers 9

respondSuccessMethod · 0.65
respondFailureMethod · 0.65
respondInterruptMethod · 0.65
respondMethod · 0.65
respondExceptionMethod · 0.65
respondMethod · 0.65
respondExceptionMethod · 0.65
respondMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by 8

respondSuccessMethod · 0.52
respondFailureMethod · 0.52
respondInterruptMethod · 0.52
respondMethod · 0.52
respondExceptionMethod · 0.52
respondMethod · 0.52
respondExceptionMethod · 0.52
respondMethod · 0.52