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

listSessionsWithOptionsAwait

suspend fun ConsulClient.listSessionsWithOptionsAwait(options: BlockingQueryOptions): SessionList

Returns the active sessions This is blocking query unlike io.vertx.ext.consul.ConsulClient

Parameters

options - the blocking options

resultHandler - will be provided with list of sessions

Returnreference
to this, for fluency *