onModelsChanged Readonly

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

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

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

Defined in

Last Updated: 11 June, 2024