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

getValuesAwait

suspend fun ConsulClient.getValuesAwait(keyPrefix: String): 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.

Parameters

keyPrefix - the prefix

resultHandler - will be provided with list of key/value pairs

Returnreference
to this, for fluency *