Observer: reacting to an order
Announce that something happened and let any number of subscribers react, without knowing them.
Level Intermediate
What you will see
- One order, three reactions
- The order calls everyone
- The subject announces
- Subscribers, wired in one place
- One failure stays one failure
- When not to use it
Before / after
Base: observer-base-tsView the diff