code: @Override
      public <T> Handler<AsyncResult<T>> toHandler(Resolver<T> resolver) {
          return result -> {
              if (result.succeeded()) {
                  resolver.resolve(result.result());
              } else {
                  resolver.reject(result.cause());
              }
          };
      }
docs: Creates a vert.x {@link AsyncResult} handler for a {@link Resolver}
  
  @param resolver
  @param <T>
  @return