Module ebus_ps_local_sup

This is an Erlang clone of the original Phoenix.PubSub.LocalSupervisor module.

Behaviours: supervisor.

References

See also: ebus_ps_pg2.

Description

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 of dispatch_rules to extend the dispatch table.

Data Types

command()

command() = broadcast | subscribe | unsubscribe

dispatch_rule()

dispatch_rule() = {command(), module(), [term()]}

Function Index

start_link/3

Function Details

start_link/3

start_link(Server::atom(), PoolSize::pos_integer(), DispatchRules::[dispatch_rule()]) -> supervisor:startlink_ret()


Generated by EDoc