Changes

85 bytes added ,  17:57, 8 December 2021
m
Added a link to a page with a more detailed explanation of event busses.
Line 28: Line 28:  
== Event Bus ==
 
== Event Bus ==
 
An '''event bus''' is an object which holds a list of event listeners, and the logic for firing the events. Events may be posted on these event buses, which then invokes the handlers. The main class for event buses is <code>IEventBus</code>, and a bus is created using <code>BusBuilder</code>.
 
An '''event bus''' is an object which holds a list of event listeners, and the logic for firing the events. Events may be posted on these event buses, which then invokes the handlers. The main class for event buses is <code>IEventBus</code>, and a bus is created using <code>BusBuilder</code>.
 +
A more detailed explanation at https://dzone.com/articles/design-patterns-event-bus.
    
=== Existing Buses ===
 
=== Existing Buses ===
2

edits