Skip to content

Glossary: Software Design Patterns in C++

event bus

Also written: EventBus

An object that keeps listeners under event names and calls them all when `emit` is called; it is the subject in the observer pattern. For example, an order service announces 'order_placed' and the bus calls every listener registered for it.

Where the book teaches it

Related terms

ObserverListenerPublish/subscribe