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

registerCheckAwait

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.

Parameters

checkOptions - options used to register new check

Return
reference to this, for fluency *