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

# updateCheckAwait

`suspend fun ConsulClient.updateCheckAwait(checkId: String, status: CheckStatus): 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

`resultHandler` - will be called when complete

Returnreference
to this, for fluency *