The notification transport (spec/03 §7), a behavior over an argument (macaw 00 goal 3): how a page hears "this source's data changed; re-read it", and how the runtime's own broadcasts travel.
Macaw.Live.Notify.Local, the default, reaches this node only, through the supervisor'sRegistryof duplicate keys (<live>.Topics);Macaw.Live.Notify.PubSubtakes aPhoenix.PubSubname and reaches every node the host's PubSub does.
A host chooses it with the supervisor's notify: option, {module, arg}. Topics are
prefixed by the supervisor's name, so two hosts sharing a PubSub never hear each other:
"macaw:<live>:source:<name>" and "macaw:<live>:shared:<digest>" (topic/3). Each
source manager (macaw_data's Macaw.Data.Manager) subscribes, when it starts, to the
topic of its source's name (spec/03 §7); a notification is {:macaw_data, :changed, name, what} on it, what a change notice's (Macaw.Live.notify/3).
Summary
Callbacks
Sends message to every process subscribed to topic.
Subscribes the calling process to topic.
Unsubscribes the calling process from topic.
Functions
A topic of the supervisor live, by kind (:source or :shared) and name.