View Source Kalevala.Communication.Cache (kalevala v0.1.0)

A local cache server for communication

Tracks which channels are registered to which PID and which pids are subscribed to which channel.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Get a list of all subscribers on a channel

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

register(pid, channel_name, callback_module, options)

View Source

Register a new channel

Link to this function

subscribers(subscriber_ets_key, channel_name)

View Source

Get a list of all subscribers on a channel