# `Commanded.Registration`
[🔗](https://github.com/commanded/commanded/blob/v1.4.12/lib/commanded/registration.ex#L1)

Use the process registry configured for a Commanded application.

# `application`

```elixir
@type application() :: Commanded.Application.t()
```

# `config`

```elixir
@type config() :: Keyword.t()
```

# `__before_compile__`
*macro* 

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

# `__using__`
*macro* 

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

# `adapter`

```elixir
@spec adapter(application(), config()) :: {module(), config()}
```

Get the configured process registry.

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
