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

Method add

future-java/src/main/java/io/trane/future/Promise.java:868–871  ·  view source on GitHub ↗
(final Continuation<T, ?> c)

Source from the content-addressed store, hash-verified

866abstract class Continuation<T, R> extends Promise<R> implements WaitQueue<T> {
867
868 @Override
869 public final WaitQueue<T> add(final Continuation<T, ?> c) {
870 return new WaitQueueHeadTail<>(c, this);
871 }
872
873 @Override
874 public final void forward(final Promise<T> target) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected