# `ASM.Run.ApprovalCoordinator`
[🔗](https://github.com/nshkrdotcom/agent_session_manager/blob/v0.9.2/lib/asm/run/approval_coordinator.ex#L1)

Pure state helper for approval ownership indexing.

# `state`

```elixir
@type state() :: %{optional(String.t()) =&gt; pid()}
```

# `clear`

```elixir
@spec clear(state(), String.t()) :: state()
```

# `new`

```elixir
@spec new() :: state()
```

# `register`

```elixir
@spec register(state(), pid(), ASM.Control.ApprovalRequest.t()) :: state()
```

# `resolve`

```elixir
@spec resolve(state(), String.t()) ::
  {:ok, pid(), state()} | {:error, :unknown_approval, state()}
```

---

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