AsyncTransaction

fun <T> AsyncTransaction(scope: CoroutineScope = GlobalScope, body: Transaction.() -> T)

Parameters

scope

The coroutine scope to use to execute the transaction

body

The body to execute in the transaction.