# `Incant.Session.Local`
[🔗](https://github.com/elixir-vibe/incant/blob/v0.1.1/lib/incant/session/local.ex#L1)

Local BEAM-backed Incant admin session.

This is the local implementation of the same session interface that remote
SafeRPC service sessions implement. UI code should call the `Incant.Session`
protocol functions and not branch on this struct directly.

# `t`

```elixir
@type t() :: %Incant.Session.Local{
  admin: module(),
  context: map(),
  contract: Incant.Admin.Contract.t()
}
```

# `new`

```elixir
@spec new(
  module(),
  keyword()
) :: t()
```

Builds a local session from an Incant admin module.

---

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