Quick Start
User Interaction Flow
Configuration Levels
Use Cases
| Pattern | Description |
|---|---|
| Events | Notify when things happen |
| Decoupling | Components don’t know each other |
| Broadcasting | Send to multiple listeners |
| Queuing | Process messages asynchronously |
API Reference
EventEmitterPubSub
PubSub implementation
Best Practices
Use descriptive topics
Use descriptive topics
user.created is clearer than event1.Handle errors
Handle errors
Subscribers should handle their own errors.
Unsubscribe when done
Unsubscribe when done
Prevent memory leaks by cleaning up.

