vertx / io.vertx.rxjava.ext.consul / ConsulClient / deregisterService

deregisterService

open fun deregisterService(id: String, resultHandler: Handler<AsyncResult<Void>>): ConsulClient

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

Return
reference to this, for fluency