# `OpenUI.Runtime.Context`
[🔗](https://github.com/ideia4it/openui/blob/v0.1.1/lib/openui/runtime/context.ex#L1)

What evaluation reads: the library, the state store, the current result of
each query and the status of each mutation.

`queries` maps a query id to its latest result (or its defaults before the
first one). `mutations` maps a mutation id to `%{"status", "data",
"error"}`; an absent mutation reads as idle.

# `t`

```elixir
@type t() :: %OpenUI.Runtime.Context{
  library: OpenUI.Library.t(),
  mutations: %{required(String.t()) =&gt; map()},
  queries: %{required(String.t()) =&gt; term()},
  state: %{required(String.t()) =&gt; term()}
}
```

---

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