Phoenix.PubSub.Local
Phoenix.PubSub.Local
PubSub implementation for handling local-node process groups.
This module is used by Phoenix pubsub adapters to handle their local node subscriptions and it is usually not accessed directly. See Phoenix.PubSub.PG2
for an example integration.
Summary
Functions
- broadcast(fastlane, pubsub_server, pool_size, from, topic, msg)
-
Sends a message to all subscribers of a topic
- start_link(server_name, gc_name)
-
Starts the server
- subscribe(pubsub_server, pool_size, pid, topic, opts \\ [])
-
Subscribes the pid to th