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

renewSessionAwait

suspend fun ConsulClient.renewSessionAwait(id: String): Session

Renews the given session. This is used with sessions that have a TTL, and it extends the expiration by the TTL

Parameters

id - the ID of session that should be renewed

Return
reference to this, for fluency *