How to use the sourced.Entity.apply function in sourced

To help you get started, we’ve selected a few sourced examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mateodelnorte / sourced-repo-mongo / test / index.js View on Github external
function Market () {
  this.orders = [];
  this.price = 0;
  Entity.apply(this, arguments);
}

sourced

Tiny framework for building models with the event sourcing pattern (events and snapshots). Now with Typescript and browser support.

MIT
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis