Specification to implement a custom PubSub adapter.
Broadcasts the given topic, message, and dispatcher to all nodes in the cluster (except the current node itself).
Returns a child specification that mounts the processes required for the adapter.
Broadcasts the given topic, message, and dispatcher to given node in the cluster (it may point to itself).
Returns the node name as an atom or a binary.
Broadcasts the given topic, message, and dispatcher to all nodes in the cluster (except the current node itself).
Returns a child specification that mounts the processes required for the adapter.
child_spec
will receive all options given Phoenix.PubSub
. Note, however, that the :name
under options is the name of the complete PubSub system. The name of the process to be used by adapter is under the :adapter_name
key.
Broadcasts the given topic, message, and dispatcher to given node in the cluster (it may point to itself).
Returns the node name as an atom or a binary.
© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.Adapter.html