IDomainEvents.record<T>(event: IDomainEvent<T>): void
Appends an event reference to the pending facts in insertion order.
event: IDomainEvent<T>
The fact raised by this aggregate
IDomainEvents.record<T>(event: IDomainEvent<T>): void
Appends an event reference to the pending facts in insertion order.
event: IDomainEvent<T>
The fact raised by this aggregate
import { type IDomainEvents } from "events-plugin/src/index.ts";