yggdrasil v3.0.2 Yggdrasil.Broker
A server to manage the subscriptions inside Yggdrasil.
Summary
Functions
Starts the Broker
. Receives the generator
PID or name and a ETS table
monitors
to store the information of the subscribers. Optionally receives
a list of GenServer
options
Stops the broker
with a PID or name and an optional reason
. By default is
:normal
Asks the broker
to subscribe the calling process to a channel
Asks the broker
to subscribe the pid
to a channel
Asks the broker
to unsubscribe the calling process to a channel
Asks the broker
to unsubscribe the pid
to a channel
Functions
Starts the Broker
. Receives the generator
PID or name and a ETS table
monitors
to store the information of the subscribers. Optionally receives
a list of GenServer
options
.
Stops the broker
with a PID or name and an optional reason
. By default is
:normal
.