eternity-timestamped-0.2.5: Automatic timestamping for Eternity

Safe HaskellNone
LanguageHaskell2010

Eternity.Timestamped.Potoki.Transform

Synopsis

Documentation

timestamp :: Transform event (Timestamped event) Source #

Useful for getting a Consume, which timestamps the events automatically as they arrive.

E.g., you can apply it to writeToDir:

transform timestamp . writeToDir :: FilePath -> Consume event (Either IOException ())