class ThinClientUtils {

    public static <T> CompletableFuture<T> convertFuture(IgniteClientFuture<T> igniteFuture) {<FILL_FUNCTION_BODY>}

}

        CompletableFuture<T> completableFuture = new CompletableFuture<>();
        igniteFuture.whenComplete((T result, Throwable error) -> {
            if (error != null) {
                completableFuture.completeExceptionally(error);
            } else {
                completableFuture.complete(result);
            }
        });
        return completableFuture;
    
<no_super_class>