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.
resultHandler
- will be called when complete
Returnreference
to this, for fluency *