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

failCheckWithNoteAwait

suspend fun ConsulClient.failCheckWithNoteAwait(checkId: String, note: String): Unit

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

Parameters

checkId - the ID 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 *