suspend fun ConsulClient.registerCheckAwait(checkOptions: CheckOptions): Unit
Add a new check to the local agent. The agent is responsible for managing the status of the check and keeping the Catalog in sync.
checkOptions
- options used to register new check
resultHandler
- will be called when complete
Returnreference
to this, for fluency *