Event
A messaging pattern for coordinating execution between participants. The Event messaging pattern is not intended for sharing payload data, but rather communicating to other participants that there is work to do.
Mechanism
The event messaging pattern abstracts over sleep and wake-up mechanisms of the platform. Listeners can put their thread into a sleep state and be woken up by notifiers on the service.
A single participant can handle multiple listeners using a Waitset, which allows the participant to wait on several event sources simultaneously.
An EventId is provided with each notification, either assigned automatically or specified by the notifier, to facilitate event handling by the receiving participants.
Further Reading
-
Understand how
Eventservices fit into the bigger picture of execution control withiceoryx2. -
See how to set up a basic
Eventservice. -
See how to handle multiple
Eventservices in a single user thread.