Glossary: Software Design Patterns in Go
Subject
In the observer pattern, the object whose events listeners subscribe to; it keeps the listeners and calls them. An `EventBus` is an example of a subject.
Glossary: Software Design Patterns in Go
In the observer pattern, the object whose events listeners subscribe to; it keeps the listeners and calls them. An `EventBus` is an example of a subject.