The runtime embedding environment for the m-ld clone. The clone calls back the app for specific behaviours; see the members of this class.
An event emitter for receiving low-level backend transaction events. Use to debug or trigger offline save. Received events are:
commit(id: string): a transaction batch with the given ID has committed normally
error(err: any): an error has occurred in the store (most such errors will also manifest in the operation performed)
clear(): the store has been cleared, as when applying a new snapshot
timing(entry: PerformanceEntry): stopwatch timings for debugging
This object must be provided if the domain declares an access control extension requiring an identified security principal (user or machine).