# `EventStore.EventData`
[🔗](https://github.com/commanded/eventstore/blob/v1.4.10/lib/event_store/event_data.ex#L1)

EventData contains the data for a single event before being persisted to storage

# `t`

```elixir
@type t() :: %EventStore.EventData{
  causation_id: String.t() | nil,
  correlation_id: String.t() | nil,
  data: term(),
  event_id: uuid() | nil,
  event_type: String.t(),
  metadata: term() | nil
}
```

# `uuid`

```elixir
@type uuid() :: String.t()
```

# `fetch`

# `get_and_update`

---

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