# phoenix_pubsub_eventstore

Phoenix pubsub adapter using EventStore. See the latest published [hex]( package for more information.

This library can be used to provide Phoenix PubSub over [EventStore](

## Usage

Add `Phoenix.PubSub` to your supervision tree by specifying `Phoenix.PubSub.EventStore` as an adapter and passing your event store in the `:eventstore` option.

  [name: MyApp.PubSub,
   adapter: Phoenix.PubSub.EventStore,
   eventstore: MyApp.EventStore]

You should have `MyApp.EventStore` configured separately. Consult the [EventStore]( documentation for hints. Make sure that `MyApp.EventStore` is started **before** the PubSub.