class DeferredResult {

    public <U> DeferredResult<U> thenApply(Function<? super T, ? extends U> fn) {
        return wrap(this.completableFuture.thenApply(fn));
    }

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

}