transactionScope

Returns the result of reading/writing transaction data stored within the scope of the current transaction.

If no data is found, the specified init block is called with the current transaction as its receiver and the result is returned.