Glossary: Software Design Patterns in C++
Listener
Also written: listeners, subscriber
A function that wants to hear about an event and is called when the event is emitted. `send_email` and `log_sale` listen for 'order_placed'.
Glossary: Software Design Patterns in C++
Also written: listeners, subscriber
A function that wants to hear about an event and is called when the event is emitted. `send_email` and `log_sale` listen for 'order_placed'.