# `Jidoka.Trace.Sink.InMemory`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/trace/sink/in_memory.ex#L1)

In-process trace sink for tests, examples, and local inspection.

This sink is intentionally small and process-local. Durable production sinks
can implement `Jidoka.Trace.Sink` directly.

# `clear`

```elixir
@spec clear(pid()) :: :ok
```

Removes all entries from the sink.

# `list`

```elixir
@spec list(pid()) :: [map()]
```

Returns all entries recorded by the sink.

# `start_link`

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

Starts a process-local trace sink.

---

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