AggregateDeleted

Marker interface for events indicating that an aggregate has been deleted.

This interface is implemented by domain events that signal the permanent removal of an aggregate from the system. When an aggregate is deleted, this event allows other components, services, and projections to react appropriately - such as cleaning up related data, updating indexes, or notifying external systems.

Aggregate deletion is typically a permanent operation that cannot be undone, though some systems may support recovery through AggregateRecovered events.

See also

for events indicating aggregate recovery

for the event annotation

Samples

Inheritors