View Source Commanded.Registration.GlobalRegistry (Commanded v1.4.6)
Distributed process registration using Erlangs :global
registry[1].
Summary
Functions
Return an optional 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 an optional 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.