# `Imp.Execution`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/execution.ex#L1)

Explicit, protocol-neutral capabilities for one program execution.

`Imp.call/2` remains the final-result contract. Hosts that need a per-run
security decision use `Imp.start_run/3` with `:authorize`; `Imp.Run` then
passes this value through `Imp.Module.execute/3` to runtimes that support the
capability. Authority is never recovered from telemetry or the ambient run
event context.

# `decision`

```elixir
@type decision() :: :allow | {:deny, term()} | {:cancel, term()}
```

# `t`

```elixir
@type t() :: %Imp.Execution{
  authorization_timeout: pos_integer(),
  authorize: (Imp.Execution.Authorization.t() -&gt; decision()) | nil,
  decision_owner: pid() | nil,
  run_id: String.t()
}
```

# `authorization_required?`

Returns whether this execution requires an authorization-aware module.

---

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