vertx / io.vertx.kotlin.ext.consul / io.vertx.ext.consul.ConsulClient / getValuesWithOptionsAwait

# getValuesWithOptionsAwait

`suspend fun ConsulClient.getValuesWithOptionsAwait(keyPrefix: String, options: BlockingQueryOptions): KeyValueList`

Returns the list of key/value pairs that corresponding to the specified key prefix. An empty io.vertx.ext.consul.KeyValueList object will be returned if no such key prefix is found. This is blocking query unlike io.vertx.ext.consul.ConsulClient

### Parameters

`keyPrefix` - the prefix

`options` - the blocking options

Return
reference to this, for fluency *