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

leaderStatusAwait

suspend fun ConsulClient.leaderStatusAwait(): String

Get the Raft leader for the datacenter in which the agent is running. It returns an address in format "10.1.10.12:8300"

Parameters

resultHandler - will be provided with address of cluster leader

Returnreference
to this, for fluency *