vertx / io.vertx.reactivex.ext.consul / ConsulClient / getValue

# getValue

`open fun getValue(key: String, resultHandler: Handler<AsyncResult<KeyValue>>): ConsulClient`

Returns key/value pair that corresponding to the specified key. An empty io.vertx.ext.consul.KeyValue object will be returned if no such key is found.

### Parameters

`key` - the key

`resultHandler` - will be provided with key/value pair

Return
reference to this, for fluency