class DeferredResult {

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

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

}