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

Method onFailure

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

Executes the Consumer if this future completes with an exception. @param c the Consumer to be executed. @return a future that completes with the result of this after c is executed, if applicable.

(Consumer<Throwable> c)

Source from the content-addressed store, hash-verified

471 * executed, if applicable.
472 */
473 Future<T> onFailure(Consumer<Throwable> c);
474
475 /**
476 * Executes the Responder once this future completes. If this future completes

Callers 8

onFailureMethod · 0.65
onFailureInterruptMethod · 0.65
onFailureMethod · 0.65
onFailureExceptionMethod · 0.65
onFailureMethod · 0.65
onFailureExceptionMethod · 0.65
onFailureMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by 7

onFailureMethod · 0.52
onFailureInterruptMethod · 0.52
onFailureMethod · 0.52
onFailureExceptionMethod · 0.52
onFailureMethod · 0.52
onFailureExceptionMethod · 0.52
onFailureMethod · 0.52