# `ADK.Session.Store.InMemory`
[🔗](https://github.com/zeroasterisk/adk-elixir/blob/main/lib/adk/session/store/in_memory.ex#L1)

ETS-backed in-memory session store.

Sessions are stored in an ETS table and survive process restarts
within the same BEAM node, but not node restarts.

## Usage

    # Start the store (usually in your supervision tree)
    ADK.Session.Store.InMemory.start_link([])

    # Use with sessions
    ADK.Session.start_link(
      app_name: "my_app",
      user_id: "user1",
      session_id: "sess1",
      store: {ADK.Session.Store.InMemory, []}
    )

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start()
```

---

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