Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • MeldApp

Index

Properties

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).

Legend

  • Property
  • Method
  • Constructor

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