vertx / io.vertx.kotlin.sqlclient / io.vertx.sqlclient.Pool / withTransactionAwait

withTransactionAwait

suspend fun <T> Pool.withTransactionAwait(function: (SqlClient) -> Future<T>): T

Suspending version of method io.vertx.sqlclient.Pool.withTransaction

Parameters

function - the code to execute

Return

T

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