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

Class Respond

future-java/src/main/java/io/trane/future/Promise.java:689–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687 }
688
689 private static class Respond<T> extends Continuation<T, T> {
690 private final Responder<? super T> r;
691
692 public Respond(final Responder<? super T> r) {
693 this.r = r;
694 }
695
696 @Override
697 final Future<T> apply(final Future<T> result) {
698 return result.respond(r);
699 }
700 }
701
702 @Override
703 public final Future<T> respond(final Responder<? super T> r) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…