class DeferredResult {

    public DeferredResult<Void> runAfterBoth(DeferredResult<?> other, Runnable action) {
        return wrap(this.completableFuture.runAfterBoth(other.toCompletionStage(), action));
    }

    public  DeferredResult();
    public  DeferredResult(CompletableFuture<T> completableFuture);

}