Adapter method for CompletableFuture to an effect wrapper E
.
Adapter method for CompletableFuture to an effect wrapper E
.
The HBase Client API's org.apache.hadoop.hbase.client.AsyncTable returns CompletableFutures.
The CompletableFuture is passed by-name and will not be triggered directly. This allows lazy effect wrappers to delay the query.
Blocks on the CompletableFuture inside the new wrapper. Exceptions might be thrown here and should be handled!