eternity-0.1.2: Native event-sourcing database

Safe HaskellNone
LanguageHaskell2010

Eternity.Potoki.Produce

Synopsis

Documentation

readFromFile :: Serialize event => FilePath -> Produce (Either IOException (Either Text event)) Source #

Read events from a file.

readFromDir :: Serialize event => FilePath -> Produce (Either IOException (Either Text event)) Source #

Read events from a directory, which has been populated with writeToDir.