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

updateCheckWithNoteAwait

suspend fun ConsulClient.updateCheckWithNoteAwait(checkId: String, status: CheckStatus, note: String): Unit

Set status of the check to given status. Used with a check that is of the TTL type. The TTL clock will be reset.

Parameters

checkId - the ID of check

status - new status of check

note - specifies a human-readable message. This will be passed through to the check's Output field.

resultHandler - will be called when complete

Returnreference
to this, for fluency *