# `Sourced.EventStore.InMemory`
[🔗](https://gitlab.com/dimakula/sourced/-/blob/0.2.0/lib/sourced/event_store/in_memory.ex#L1)

An in-memory implementation of `Sourced.EventStore` backed by a GenServer.

Should only be used for dev and testing purposes.

## Usage

    store = Sourced.EventStore.new(adapter: Sourced.EventStore.InMemory)

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `name`

```elixir
@spec name(config :: keyword()) :: GenServer.name()
```

The name the store's process is registered under, `Sourced.EventStore.InMemory`
unless the store's config names it.

# `start_link`

---

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