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

passCheckWithNoteAwait

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

Set status of the check to "passing". 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 *