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

createSessionWithOptionsAwait

suspend fun ConsulClient.createSessionWithOptionsAwait(options: SessionOptions): String

Initialize a new session

Parameters

options - options used to create session

idHandler - will be provided with ID of new session

Returnreference
to this, for fluency *