withTransactionAwareContext
suspend fun <T> KilnDriver.withTransactionAwareContext(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T
Runs block like withContext(context, block), unless a transaction is open:
inside a withTransaction on this driver, on that transaction's thread;
inside a transaction opened by other code on the current thread, in place, so the work joins that transaction.
Called by generated repository code — not intended for direct use.