vertx / io.vertx.kotlin.ext.consul / sessionListOf

# sessionListOf

`fun sessionListOf(index: Long? = null, list: Iterable<Session>? = null): SessionList`

A function providing a DSL for building io.vertx.ext.consul.SessionList objects.

Holds result of sessions query

### Parameters

`index` - Set Consul index, a unique identifier representing the current state of the requested list of sessions

`list` - Set list of sessions