DomainEvent
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
Defined in: packages/core/domain/events/domain.event.ts:14
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/core/domain/events/domain.event.ts:22
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”DomainEvent
Properties
Section titled “Properties”
readonlyid:string
Defined in: packages/core/domain/events/domain.event.ts:15
Accessors
Section titled “Accessors”[REQUEST_KIND]
Section titled “[REQUEST_KIND]”Get Signature
Section titled “Get Signature”get [REQUEST_KIND]():
"event"
Defined in: packages/core/domain/events/domain.event.ts:18
The kind a pipeline reads from this request: 'event'.
Returns
Section titled “Returns”"event"