vertx / io.vertx.rxjava.ext.consul / ConsulClient / listSessionsWithOptions

listSessionsWithOptions

open fun listSessionsWithOptions(options: BlockingQueryOptions, resultHandler: Handler<AsyncResult<SessionList>>): ConsulClient

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

Parameters

options - the blocking options

resultHandler - will be provided with list of sessions

Return
reference to this, for fluency