SSE.ConnectionRegistry (MCP SSE v0.1.5)
View SourceManages the ETS table for SSE connections.
This module provides a centralized registry for Server-Sent Events (SSE) connections using an ETS table. It ensures the table is created when the application starts and provides access to the table name for other modules to interact with the connection data.
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns the table name used for storing SSE connections.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns the table name used for storing SSE connections.
The table name is used by other modules to interact with the ETS table that stores SSE connection information.
Returns
:sse_connections
- The atom representing the ETS table name
Examples
iex> SSE.ConnectionRegistry.table_name()
:sse_connections