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

# peersStatusAwait

`suspend fun ConsulClient.peersStatusAwait(): List<String>`

Retrieves the Raft peers for the datacenter in which the the agent is running. It returns a list of addresses "10.1.10.12:8300", "10.1.10.13:8300"

### Parameters

`resultHandler` - will be provided with list of peers

Returnreference
to this, for fluency *