erlang_adk_session_owner (erlang_adk v0.7.0)
View SourceOwns the in-memory session ETS table for the lifetime of the ADK app.
ETS tables are destroyed with their owner. Keeping ownership in a permanent supervised worker prevents an agent that happened to initialize the session backend from taking the table (and all sessions) down when it exits.
Summary
Functions
Ensure the owner and its table exist. Concurrent callers are safe: the local registration permits only one owner to win gen_server:start/4.
Functions
Ensure the owner and its table exist. Concurrent callers are safe: the local registration permits only one owner to win gen_server:start/4.