tracer-transformers-0.1.0.1: tracer transformers and examples showing their use

Safe HaskellNone
LanguageHaskell2010

Control.Tracer.Transformers.ObserveOutcome

Contents

Description

Observing events with annotations of thread id and time.

Synopsis

transformer

mkOutcomeExtractor :: (MonadIO m, Outcome m a) => m (OutcomeEnhancedTracer m a -> Tracer m a) Source #

Generic Trace transformer (reactive). It could be written to take an initial argument, but restricting the scope of that per-invocation state seems more appropriate (for the moment). That may be of use if/when explict management of timeout was required and/or non-termination of the outcome at the end of a run was of interest.