macula_stream_sessions_keeper (macula v11.5.0)

View Source

Holds the table of the node's served stream sessions.

This process creates the table with macula_stream_sessions:new_table/0 and does nothing but hold it, so the sessions kept there outlive a restart of macula_stream_sessions, the process that counts them. It starts before that process. The table is public so the counter can write it; no other process writes it.

Summary

Functions

handle_call(Request, From, _)

handle_cast(Msg, _)

init(_)

start_link()

-spec start_link() -> {ok, pid()} | {error, term()}.