suspend fun CassandraClient.connectAwait(): Unit
Connect to a Cassandra service.
connectHandler
- handler called when asynchronous connect call ends
Returncurrent
Cassandra client instance *
suspend fun CassandraClient.connectAwait(keyspace: String): Unit
Connect to a Cassandra service.
keyspace
- The name of the keyspace to use for the created connection.
connectHandler
- handler called when asynchronous connect call ends
Returncurrent
Cassandra client instance *