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

deregisterServiceAwait

suspend fun ConsulClient.deregisterServiceAwait(id: String): Unit

Remove a service from the local agent. The agent will take care of deregistering the service with the Catalog. If there is an associated check, that is also deregistered.

Parameters

id - the ID of service

resultHandler - will be called when complete

Returnreference
to this, for fluency *