# `ASM.Extensions.PubSub.Adapters.Local`
[🔗](https://github.com/nshkrdotcom/agent_session_manager/blob/v0.9.2/lib/asm/extensions/pub_sub/adapters/local.ex#L1)

Local in-node PubSub adapter built on `Registry` duplicate keys.

Broadcast message contract:
- each subscriber receives `{:asm_pubsub, topic, payload}`

# `registry_ref`

```elixir
@type registry_ref() :: atom() | pid()
```

# `state`

```elixir
@type state() :: %{registry: registry_ref()}
```

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start() | {:error, ASM.Error.t()}
```

---

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