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
normallyerror(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 snapshottiming(entry: PerformanceEntry)
: stopwatch timings for debuggingThis object must be provided if the domain declares an access control extension requiring an identified security principal (user or machine).
Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.0 Source code licensed MIT. Privacy policy
The runtime embedding environment for the m-ld clone. The clone calls back the app for specific behaviours; see the members of this class.