skycluster v1.1.1 Cluster.Events
This module implements a publish/subscribe mechanism for cluster events.
Summary
Functions
Publishes an event to all subscribers
Subscribes a process (by pid) to cluster events
Unsubscribes a process (by pid) from cluster events
Functions
Publishes an event to all subscribers.
Published messages are delivered via send/2
, so if subscribing
a gen_* process, you will receive them in the handle_info/2
callback.