Raxol.Core.GlobalRegistry (Raxol v2.0.1)
View SourceUnified registry interface consolidating different registry patterns across Raxol.
This module provides a single interface for:
- Terminal session registry
- Plugin registry
- Component registry
- Theme/palette registry
- Command registry
Usage
Terminal Sessions
UnifiedRegistry.register(:sessions, session_id, session_data)
sessions = UnifiedRegistry.list(:sessions)Plugins
UnifiedRegistry.register(:plugins, plugin_id, plugin_metadata)
plugins = UnifiedRegistry.list(:plugins)Commands
UnifiedRegistry.register(:commands, command_name, command_handler)
commands = UnifiedRegistry.search(:commands, pattern)
Summary
Functions
Bulk operations for efficiency.
Returns a specification to start this module under a supervisor.
Counts entries in the specified registry.
Filters entries by a custom function.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Lists all entries in the specified registry.
Looks up an entry in the specified registry.
Registers an entry in the specified registry.
Command registry operations.
Plugin registry operations.
Session registry operations.
Searches for entries matching a pattern in the specified registry.
Gets registry statistics.
Unregisters an entry from the specified registry.
Types
Functions
Bulk operations for efficiency.
Returns a specification to start this module under a supervisor.
See Supervisor.
Counts entries in the specified registry.
Filters entries by a custom function.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Lists all entries in the specified registry.
Looks up an entry in the specified registry.
Registers an entry in the specified registry.
Command registry operations.
Plugin registry operations.
Session registry operations.
Searches for entries matching a pattern in the specified registry.
Gets registry statistics.
Unregisters an entry from the specified registry.