vertx / io.vertx.kotlin.ext.sql / io.vertx.ext.sql.SQLConnection / closeAwait

closeAwait

suspend fun SQLConnection.closeAwait(): Unit

Closes the connection. Important to always close the connection when you are done so it's returned to the pool.

Parameters

handler - the handler called when this operation completes.