Events

Learn about domain events that can occur in a domain.

A domain can generate some results when executing commands. Those results are known as events. When an event is produced as a result of executing a command, it can be processed in different ways. For example, it can be stored in an append-only system or trigger events in other domains.

What are events?

An event is something that has happened in the past. They usually cause a reaction elsewhere. It is important to clarify that events are different from each other. It means that although two events have been created based on the same information, they are completely different. In other words, events cannot be duplicated and cannot be modified.

Events are

...
Access this course and 1400+ top-rated courses and projects.