Phoenix.PubSub.LocalSupervisor
module.
Behaviours: supervisor.
References
See also: ebus_ps_pg2.
This is an Erlang clone of the original
Phoenix.PubSub.LocalSupervisor
module.
Copyright (c) 2014 Chris McCord
Local PubSub server supervisor.
Used by PubSub adapters to handle "local" subscriptions. Defines an ets dispatch table for routing subscription requests. Extendable by PubSub adapters by providing a list ofdispatch_rules
to extend the dispatch table.
command() = broadcast | subscribe | unsubscribe
dispatch_rule() = {command(), module(), [term()]}
start_link/3 |
start_link(Server::atom(), PoolSize::pos_integer(), DispatchRules::[dispatch_rule()]) -> supervisor:startlink_ret()
Generated by EDoc