2 ms·
Not exactly. Messages and events are dual to each other. Messages are sender centric. The sender determines the links to the receivers. The receiver listens reg
by acjohnson55 12y ago
Not exactly. Messages and events are dual to each other. Messages are sender centric. The sender determines the links to the receivers. The receiver listens regardless of who's sending.
Events are receiver centric. The receiver explicitly chooses what senders to listen to. The sender fires off events without regard for who's listening.
I'm not sure how much distinction actually matters in terms of expressive power, but it does seem to impact how the paradigms are used in practice.
- Nemcue 12y ago> The receiver explicitly chooses what senders to listen to. Not necessarily. The receiver could just specify what kind of messages to receive instead, and be decoupled from the sender.