Phoenix.PubSub.PG2
The Supervisor for the :pg2
Phoenix.PubSub
adapter
To use PG2 as your PubSub adapter, simply add it to your Endpoint’s config:
config :my_app, MyApp.Endpiont,
...
pubsub: [name: MyApp.PubSub, adapter: Phoenix.PubSub.PG2]
Options
:name
- The required name to register the PubSub processes, ie:MyApp.PubSub
Summary↑
start_link(name, opts) |