EventBroker is an implementation of publish/subscribe pattern.
- in-memory, in-process scope
- publishing is 'Fire and Forget' style
- events don't need to implement specific interface
- event handlers are runned on background threads
- event handlers can provide filter for the events they want to handle
- can use different strategies for running event handlers
- provides different ways for subscribing that can be used side by side
- subscriptions are based on the event type
check out the wiki
version 2.x is not backward compatible with version 1.x
IEventHandlerhas new methodOnErrorEventBrokernow takes anIEventHandlerRunnerparameter instead of thread count- instead of factory delegate
EventBrokernow has optionalIEventHandlerFactoryparameter - global error handling in
EventBrokeris now moved toIEventHandler.OnError