vertx / io.vertx.kotlin.cassandra / io.vertx.cassandra.CassandraClient / connectAwait

connectAwait

suspend fun CassandraClient.connectAwait(): Unit

Connect to a Cassandra service.

Parameters

connectHandler - handler called when asynchronous connect call ends

Returncurrent
Cassandra client instance *

suspend fun CassandraClient.connectAwait(keyspace: String): Unit

Connect to a Cassandra service.

Parameters

keyspace - The name of the keyspace to use for the created connection.

connectHandler - handler called when asynchronous connect call ends

Returncurrent
Cassandra client instance *