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

registerServiceAwait

suspend fun ConsulClient.registerServiceAwait(serviceOptions: ServiceOptions): Unit

Adds a new service, with an optional health check, to the local agent.

Parameters

serviceOptions - the options of new service

resultHandler - will be called when complete

Returnreference
to this, for fluency *