I am relatively inexperienced with Java's CompletableFuture and I probably need some help with it. Here is what I am trying to do.
/* I want to use the result of the future in a second one.
* So basically, what I want to do is to return the second future,
* but I don't want to block and wait for the first future to complete.
* /
CompletableFuture<TypeA> -> CompletableFuture<TypeB>
So I am wondering if there is a way to 'chain' the first future to the second one such that one single future(TypeB) will be returned.