API Reference > imodeljs-backend > iModels > TxnManager > onCommit onCommit Readonly onCommit: BeEvent<() => void> = ... Event raised before a commit operation is performed. Initiated by a call to IModelDb.saveChanges, unless there are no changes to save. Defined in core/backend/src/TxnManager.ts Line 344 Last Updated: 11 June, 2024