code: public static <T> Future<T> ofResult(final T result) {
          return Future.of(CompletableFuture.completedFuture(result));
      }
docs: Construct a successfully completed Future from the given value
  
  @param result
  To wrap inside a Future
  @return Future containing supplied result