• Public
  • Public/Protected
  • All

The runtime embedding environment for the m-ld clone. The clone calls back the app for specific behaviours; see the members of this class.


  • MeldApp



Optional backendEvents

backendEvents: EventEmitter

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

Optional principal

principal: AppPrincipal

This object must be provided if the domain declares an access control extension requiring an identified security principal (user or machine).


  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Protected method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.0 Source code licensed MIT. Privacy policy