Implementation of Pub/Sub communication between processes, local and remote, using PG2.
If available in Hex, the package can be installed as:
-
Add pg2pubsub to your list of dependencies in
mix.exs
:def deps do [{:pg2pubsub, "~> 0.1.0"}] end
-
Ensure pg2pubsub is started before your application:
def application do [applications: [:pg2pubsub]] end