code: public static <T> CompletableFuture<T> completedFuture(T result) {
      CompletableFuture<T> future = new AtomixFuture<>();
      future.complete(result);
      return future;
    }
docs: Returns a new completed Atomix future.
  
  @param result the future result
  @param <T>    the future result type
  @return the completed future