beforeCommit

open fun beforeCommit(transaction: Transaction)

Performs steps before a transaction is committed.

Additionally, this is called right after keepUserDataInTransactionStoreOnCommit(), which has defined the required information that must not be lost.