Dispenser.SubscriptionManager (dispenser v0.1.0) View Source
SubscriptionManager
handles monitoring and demonitoring subscribers
Link to this section Summary
Functions
Stop monitoring the given subscriber.
Handle the down signal from a monitored subscriber.
Monitor the given pid using Process.monitor/1
.
Callers must handle the :DOWN message from this pid.
Get the number of currently monitored subscribers.
Link to this section Types
Specs
t()
The opaque internal state of the SubscriptionManager
.
Link to this section Functions
Specs
Stop monitoring the given subscriber.
Specs
Handle the down signal from a monitored subscriber.
Specs
Monitor the given pid using Process.monitor/1
.
Callers must handle the :DOWN message from this pid.
Specs
new() :: t()
Specs
size(t()) :: non_neg_integer()
Get the number of currently monitored subscribers.