UNPKG

@hexadrop/aggregate-root

Version:

Hexagonal architecture utils library

2 lines 205 B
var i=class{#t;constructor(){this.#t=[]}pullDomainEvents(){let t=this.#t.length;return this.#t.splice(0,t)}record(...t){this.#t.push(...t)}};export{i as default}; //# sourceMappingURL=aggregate-root.js.map