code: public static final <T> AsyncResultImpl<T> create(T result, Class<T> type) {
          return new AsyncResultImpl<>(result);
      }
docs: Convenience method for creating an async result.
  @param result the result
  @return result of type T