vertx / io.vertx.kotlin.ext.sql / io.vertx.ext.sql.SQLClient / getConnectionAwait

getConnectionAwait

suspend fun SQLClient.getConnectionAwait(): SQLConnection

Returns a connection that can be used to perform SQL operations on. It's important to remember to close the connection when you are done, so it is returned to the pool.

Parameters

handler - the handler which is called when the JdbcConnection object is ready for use.

Return