# suspendedTransactionAsync

suspend fun <T> suspendedTransactionAsync(context: CoroutineContext? = null, db: Database? = null, transactionIsolation: Int? = null, readOnly: Boolean? = null, statement: suspend JdbcTransaction.() -> T): Deferred<T>

### Deprecated

" This function will be removed in future releases. Replace with `suspendTransaction()` call. `suspendTransaction()` doesn't allow to pass context as a parameter, use `withContext()` if you need to use transaction with custom context. To get result asynchronously, use `async` or `launch` from kotlinx.coroutines package.