onElementsChanged Readonly

onElementsChanged: BeEvent<(changes: TxnChangedEntities) => void> = ...

Called after validation completes from IModelDb.saveChanges. The argument to the event holds the list of elements that were inserted, updated, and deleted.

note If there are many changed elements in a single Txn, the notifications are sent in batches so this event may be called multiple times per Txn.

Defined in

Last Updated: 30 November, 2023