Glossary: Software Design Patterns in JavaScript
Subject
In the Observer pattern, the object or code where an event happens and whose listeners subscribe to it. An event bus is a subject.
Glossary: Software Design Patterns in JavaScript
In the Observer pattern, the object or code where an event happens and whose listeners subscribe to it. An event bus is a subject.