Package dev.floofy.utils.exposed

Types

Link copied to clipboard
class AsyncTransaction<T>(scope: CoroutineScope = GlobalScope, body: Transaction.() -> T)

Represents an asynchronous transaction.

Functions

Link copied to clipboard
suspend fun <T> asyncTransaction(scope: CoroutineScope = GlobalScope, block: Transaction.() -> T): T

Creates a new asynchronous transaction and executes it.