ExAgent. PubSub. Phoenix
(ExAgent v3.0.0)
View Source
Delegates to Phoenix.PubSub when available, with no hard dependency.
Stability — Stable.
If Phoenix.PubSub is not available, broadcast/3, subscribe/2 and unsubscribe/2
return {:error, {:phoenix_pubsub_not_available, Phoenix.PubSub}} rather than
raising.
Configure as {ExAgent.PubSub.Phoenix, MyApp.PubSub}, where the second
element is the PubSub server name registered in the host app.