vertx / io.vertx.kotlin.db2client / DB2Connection / connectAwait

# connectAwait

`suspend fun connectAwait(vertx: Vertx, connectOptions: DB2ConnectOptions): DB2Connection`

Suspending version of method io.vertx.db2client.DB2Connection.connect

### Parameters

`vertx` - the vertx instance

`connectOptions` - the options for the connection

Return

DB2ConnectionVertxAlias

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

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

Suspending version of method io.vertx.db2client.DB2Connection.connect

### Parameters

`vertx` -

`connectionUri` -

Return

DB2ConnectionVertxAlias

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