suspend fun ConsulClient.registerServiceAwait(serviceOptions: ServiceOptions): Unit
Adds a new service, with an optional health check, to the local agent.
serviceOptions
- the options of new service
resultHandler
- will be called when complete
Returnreference
to this, for fluency *