# EventStore v1.4.12 - API Reference

## Modules

- [EventStore](EventStore.md): EventStore allows you to define one or more event store modules to append,
read, and subscribe to streams of events.
- [EventStore.Config](EventStore.Config.md): Provides access to the EventStore configuration.

- [EventStore.Notifications.Listener](EventStore.Notifications.Listener.md): A GenStage producer which listens for event stream notifications from PostgreSQL using the
PostgreSQL `LISTEN/NOTIFY` mechanism and emits `EventStore.Notifications.Notification` events
for subscribed `EventStore.Notifications.Publisher` processes.
- [EventStore.Notifications.Notification](EventStore.Notifications.Notification.md): Represents a notification received from PostgreSQL's `LISTEN/NOTIFY` mechanism.
- [EventStore.Notifications.Publisher](EventStore.Notifications.Publisher.md): A GenStage consumer which subscribes to a `EventStore.Notifications.Listener` and receives
`EventStore.Notifications.Notification` events, reading the corresponding range of events from
storage, deserializing them, and broadcasting them to PubSub subscribers for the relevant storage
stream.

- [EventStore.Notifications.Publisher.State](EventStore.Notifications.Publisher.State.md)
- [EventStore.Page](EventStore.Page.md): A page of results from a paginated query.

- [EventStore.PubSub](EventStore.PubSub.md): Pub/sub using Elixir's local `Registry` module.

- [EventStore.Streams.StreamInfo](EventStore.Streams.StreamInfo.md)
- [EventStore.Tasks.Migration](EventStore.Tasks.Migration.md)
- [EventStore.Tasks.Migrations](EventStore.Tasks.Migrations.md): Task to show the migration status of EventStore

- [Mix.EventStore](Mix.EventStore.md): Conveniences for writing EventStore related Mix tasks.

- Data types
  - [EventStore.EventData](EventStore.EventData.md): EventData contains the data for a single event before being persisted to storage

  - [EventStore.RecordedEvent](EventStore.RecordedEvent.md): `EventStore.RecordedEvent` contains the persisted data and metadata for a
single event.
  - [EventStore.Snapshots.SnapshotData](EventStore.Snapshots.SnapshotData.md): Snapshot data.

- Serialization
  - [EventStore.JsonSerializer](EventStore.JsonSerializer.md): A serializer that uses the JSON format.

  - [EventStore.JsonbSerializer](EventStore.JsonbSerializer.md): Serialize to/from PostgreSQL's native `jsonb` format.

  - [EventStore.Serializer](EventStore.Serializer.md): Specification of a serializer to convert between an Elixir term and its
representation in the database.

  - [EventStore.TermSerializer](EventStore.TermSerializer.md): A serializer that uses Erlang's external term format (http://erlang.org/doc/apps/erts/erl_ext_dist.html)

- Tasks
  - [EventStore.Tasks.Create](EventStore.Tasks.Create.md): Task to create the EventStore

  - [EventStore.Tasks.Drop](EventStore.Tasks.Drop.md): Task to drop the EventStore database.

  - [EventStore.Tasks.Init](EventStore.Tasks.Init.md): Task to initalize the EventStore database

  - [EventStore.Tasks.Migrate](EventStore.Tasks.Migrate.md): Task to migrate EventStore

## Mix Tasks

- [mix event_store.create](Mix.Tasks.EventStore.Create.md): Create the database for the EventStore.
- [mix event_store.drop](Mix.Tasks.EventStore.Drop.md): Drop the database for the EventStore.
- [mix event_store.init](Mix.Tasks.EventStore.Init.md): Initialize the database for the EventStore.
- [mix event_store.migrate](Mix.Tasks.EventStore.Migrate.md): Migrate an existing EventStore database.
- [mix event_store.migrations](Mix.Tasks.EventStore.Migrations.md): Show the migration status of an existing EventStore database.

