vertx / io.vertx.kotlin.mysqlclient / MySQLConnection / connectAwait

# connectAwait

`suspend fun connectAwait(vertx: Vertx, connectOptions: MySQLConnectOptions): MySQLConnection`

Suspending version of method io.vertx.mysqlclient.MySQLConnection.connect

### Parameters

`vertx` - the vertx instance

`connectOptions` - the options for the connection

Return

MySQLConnectionVertxAlias

NOTE: This function has been automatically generated from io.vertx.mysqlclient.MySQLConnection using Vert.x codegen.

`suspend fun connectAwait(vertx: Vertx, connectionUri: String): MySQLConnection`

Suspending version of method io.vertx.mysqlclient.MySQLConnection.connect

### Parameters

`vertx` -

`connectionUri` -

Return

MySQLConnectionVertxAlias

NOTE: This function has been automatically generated from io.vertx.mysqlclient.MySQLConnection using Vert.x codegen.