View Source WorkflowMetal.Registration (workflow_metal v0.2.1)
Use the process registry configured for a WorkflowMetal application.
Link to this section Summary
Link to this section Types
Specs
application() :: WorkflowMetal.Application.t()
Specs
config() :: keyword()
Link to this section Functions
Specs
adapter(application(), config()) :: {module(), config()}
Get the configured process registry.
Defaults to a local registry, restricted to running on a single node.
Specs
start_child( application(), term(), Supervisor.supervisor(), WorkflowMetal.Registration.Adapter.child_spec() ) :: WorkflowMetal.Registration.Adapter.on_start_child()
Specs
whereis_name(application(), term()) :: pid() | :undefined
Get the pid of a registered name.
Returns :undefined
if the name is unregistered.