Registry-backed access point for UI sessions.
Plugins and background workers use this module to update UI state without knowing whether the UI is rendered by the TUI, LiveView, or tests.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec register(String.t(), GenServer.server()) :: :ok
@spec server(String.t()) :: {:ok, GenServer.server()} | {:error, :not_found}
@spec start_link(keyword()) :: GenServer.on_start()
@spec unregister(String.t(), GenServer.server()) :: :ok