eventlog-live-0.2.0.1: Live processing of eventlog data.
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

GHC.Eventlog.Live.Machine.Decoder

Description

 
Synopsis

Event decoding

decodeEvent :: forall (m :: Type -> Type). MonadIO m => ProcessT m ByteString Event Source #

Parse Events from a stream of ByteString chunks with ticks.

Throws a DecodeError on error.

decodeEventBatch :: forall (m :: Type -> Type). MonadIO m => ProcessT m (Tick ByteString) (Tick Event) Source #

Parse Events from a stream of ByteString chunks with ticks.

Throws DecodeError on error.