ApplyEventOptions
Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:8
Options for applying an event to an aggregate root.
Properties
Section titled “Properties”fromHistory?
Section titled “fromHistory?”
readonlyoptionalfromHistory?:boolean
Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:13
Whether the event originates from historical rehydration. If true, the event will not be buffered into uncommitted events.
skipHandler?
Section titled “skipHandler?”
readonlyoptionalskipHandler?:boolean
Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:18
Whether to skip calling the corresponding on<EventName> handler.