Raxol.Terminal.Registry (Raxol v2.0.1)

View Source

Registry for terminal processes and components.

This registry provides a way to register and lookup terminal-related processes such as emulators, sessions, and other terminal components.

Summary

Functions

Returns a specification to start this module under a supervisor.

Lists all registered processes.

Looks up a process by name.

Registers a process under a given name.

Unregisters a process.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_manager_cast(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.

list_all()

Lists all registered processes.

lookup(name)

Looks up a process by name.

register(name, pid)

Registers a process under a given name.

start_link(init_opts \\ [])

unregister(name)

Unregisters a process.