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

Link to this function

adapter(application, config)

View Source

Specs

adapter(application(), config()) :: {module(), config()}

Get the configured process registry.

Defaults to a local registry, restricted to running on a single node.

Link to this function

start_child(application, name, supervisor, child_spec)

View Source

Specs

Link to this function

whereis_name(application, name)

View Source

Specs

whereis_name(application(), term()) :: pid() | :undefined

Get the pid of a registered name.

Returns :undefined if the name is unregistered.