commandbus
A command bus is a software component that decouples the place where a request is issued from the place where it is executed. It is commonly used in CQRS (Command Query Responsibility Segregation) and mediator-style architectures to route commands to their designated handlers without requiring the caller to know how a command is processed.
Typically a command is a plain data object that encodes an intent to perform a change, such
Dispatch can be synchronous, with the caller awaiting completion and possible return values, or asynchronous, with
Typically a command has a single, explicit handler. Errors raised by a handler may be translated into