Safe Haskell | None |
---|---|
Language | Haskell2010 |
- timestamp :: Transform event (Timestamped event)
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 ())