Commanded v1.0.0 Commanded.Registration View Source

Use the process registry configured for a Commanded application.

Link to this section 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.

Link to this section Types

Link to this section Functions

Link to this macro

__before_compile__(env)

View Source (macro)

Allow a registry adapter to handle the standard GenServer callback functions.

Link to this macro

__using__(opts)

View Source (macro)

Use the Commanded.Registration module to import the registry adapter and via tuple functions.

Link to this function

adapter(application, config)

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

Get the configured process registry.

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