# `Spectre.Server.GAM.EffectAdapter`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/server/gam/effect_adapter.ex#L1)

Explicit execution contract for an already admitted, frozen effect.

The runtime selects an adapter from immutable Stack registrations. Payloads
cannot choose a module or function. An Act reference is correlation, not a
promise that an external service implements idempotency. Adapters must report
ambiguous outcomes honestly and must not retry an uncertain effect.

# `result`

```elixir
@type result() :: {:ok, term()} | {:error, status(), term()}
```

# `status`

```elixir
@type status() :: :failed | :definitive_no_effect | :ambiguous
```

# `effect_schema`
*optional* 

```elixir
@callback effect_schema(atom() | binary(), map()) :: {:ok, binary()} | {:error, term()}
```

# `execute_effect`

```elixir
@callback execute_effect(atom() | binary(), map(), map()) :: result()
```

---

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