View Source Commanded.Registration.LocalRegistry (Commanded v1.4.6)
Local process registration, restricted to a single node, using Elixir's
Registry
module.
Summary
Functions
Return a supervisor spec for the registry.
Starts a uniquely named child process of a supervisor using the given module and args.
Starts a uniquely named GenServer
process for the given module and args.
Starts a supervisor.
Return a :via
tuple to route a message to a process by its registered name.
Get the pid of a registered name.
Functions
Return a supervisor spec for the registry.
Starts a uniquely named child process of a supervisor using the given module and args.
Registers the pid with the given name.
Starts a uniquely named GenServer
process for the given module and args.
Registers the pid with the given name.
Starts a supervisor.
Return a :via
tuple to route a message to a process by its registered name.
Get the pid of a registered name.
Returns :undefined
if the name is unregistered.