transaction
suspend fun <T> transaction(vararg store: String, durability: Durability = Durability.Default, action: suspend Transaction.() -> T): T
Inside the action block, you must not call any suspend
functions except for:
those provided by this library and scoped on Transaction (and its subclasses)
flow operations on the flows returns by Transaction.openCursor and Transaction.openKeyCursor
suspend
functions composed entirely of other legal functions