View Source Commanded.Registration (Commanded v1.4.6)
Use the process registry configured for a Commanded application.
Summary
Functions
Allow a registry adapter to handle the standard GenServer
callback
functions.
Use the Commanded.Registration
module to import the registry adapter and
via tuple functions.
Get the configured process registry.
Types
@type application() :: Commanded.Application.t()
@type config() :: Keyword.t()
Functions
Allow a registry adapter to handle the standard GenServer
callback
functions.
Use the Commanded.Registration
module to import the registry adapter and
via tuple functions.
@spec adapter(application(), config()) :: {module(), config()}
Get the configured process registry.
Defaults to a local registry, restricted to running on a single node.