DEV Community

Ali Bayat
Ali Bayat

Posted on

Answer: Why are commands and events separately represented?

The event is a fact from the past.

The command is only a request, and thus may be refused.

Commands Events
Purpose Invoke Behavior Something Happened
Ownership Command Owned by Consumer Event Owned by Publisher
Consumers One Consumer Zero or Many Consumers
Senders Many Senders Single Publisher
Naming Verb Past

Top comments (0)