CrispyWaffle
CrispyWaffle copied to clipboard
[FEATURE] Add Request/Response pattern in EventsDispatcher (maybe a CommandsDispatcher)
Description
Currently, we have the EventsDispatcher that receives an IEvent and dispatches it overall EventsHandlers.
The idea here is to have a CommandsDispatcher that will receive an ICommand as input, and dispatch/send it for one, and one only CommandHandler and send back to the caller the response.dispatch/send it for one and only one CommandHandler, and send the response back to the caller
Tech notes
Use memory transport for this (maybe in the future we can have distributed system arch for this).
Additional information
No response