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

healthServiceNodesAwait

suspend fun ConsulClient.healthServiceNodesAwait(service: String, passing: Boolean): ServiceEntryList

Returns the nodes providing the service. This endpoint is very similar to the io.vertx.ext.consul.ConsulClient endpoint; however, this endpoint automatically returns the status of the associated health check as well as any system level health checks.

Parameters

service - the service name

passing - if true, filter results to only nodes with all checks in the passing state

resultHandler - will be provided with list of services

Returnreference
to this, for fluency *