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

catalogDatacentersAwait

suspend fun ConsulClient.catalogDatacentersAwait(): List<String>

Return all the datacenters that are known by the Consul server

Parameters

resultHandler - will be provided with list of datacenters

Returnreference
to this, for fluency *