CrispyWaffle icon indicating copy to clipboard operation
CrispyWaffle copied to clipboard

[FEATURE] Add Request/Response pattern in EventsDispatcher (maybe a CommandsDispatcher)

Open guibranco opened this issue 1 year ago • 0 comments

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

guibranco avatar Mar 21 '24 10:03 guibranco