DomainEvent
Defined in: packages/ddd-core/domain/events/domain.event.ts:13
Base class for all domain events.
Carries a unique id (a time-sortable uuidv7) generated on construction
unless one is supplied. Concrete events extend this to describe something that
has happened in the domain.
Extended by
Section titled “Extended by”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”
protectednew DomainEvent(id?):DomainEvent
Defined in: packages/ddd-core/domain/events/domain.event.ts:16
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”DomainEvent
Properties
Section titled “Properties”
readonlyid:string
Defined in: packages/ddd-core/domain/events/domain.event.ts:14