withTransaction

suspend fun <T> IAppDatabase.withTransaction(body: suspend T.() -> Unit)

Extensions for easy transaction

Author

Vitaliy Zarubin