prooph/service-bus

Publish events to many EventHandlers

Closed this issue · 0 comments

Other than a CommandReceiver, an EventReceiver should publish an Event to many EventHandlers.

Change event_map structure to allow an array of EventHandlers for a specific Event.
Let EventReceiver check if one handler or a collection of handlers is configrued.
Let EventReceiver publish event to all configured handlers.