The BaseEntity object that is raising the event.
Any payload that is associated with the event. This can be any type of object and is used to pass additional information about the event.
Optional saveIf type === 'save' this property can either be 'create' or 'update' to indicate the type of save operation that was performed.
The type of event that is being raised.
save_started, delete_started, load_started: Raised when an operation beginssave, delete, load_complete: Raised when an operation completes successfullynew_record: Raised when NewRecord() is calledtransaction_ready: Used to indicate that a transaction is ready to be submitted for execution. The TransactionGroup class uses this to know that all async preprocessing is done and it can now submit the transaction.
Event type that is used to raise events and provided structured callbacks for any caller that is interested in registering for events. This type is also used for whenever a BaseEntity instance raises an event with MJGlobal.