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

Method voided

future-java/src/main/java/io/trane/future/Promise.java:748–759  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

746 }
747
748 @Override
749 public final Future<Void> voided() {
750 if (getInterruptHandler() != null)
751 return continuation(new Voided<T>() {
752 @Override
753 protected final InterruptHandler getInterruptHandler() {
754 return Promise.this;
755 }
756 });
757 else
758 return continuation(new Voided<T>());
759 }
760
761 private final class DelayedPromise extends Promise<T> implements Runnable {
762 @Override

Callers

nothing calls this directly

Calls 2

getInterruptHandlerMethod · 0.95
continuationMethod · 0.95

Tested by

no test coverage detected