Safe Haskell | None |
---|---|
Language | Haskell2010 |
Reporters with no external components.
Synopsis
- noReporter :: MonadIO m => FinishedSpan -> m ()
- memReporter :: MonadIO m => Mem -> FinishedSpan -> m ()
- newMem :: IO Mem
- newBoundedMem :: Word32 -> IO Mem
- memPeek :: Mem -> IO [FinishedSpan]
- memTake :: Mem -> IO [FinishedSpan]
Documentation
noReporter :: MonadIO m => FinishedSpan -> m () Source #
A null reporter which ignores anything it's given.
memReporter :: MonadIO m => Mem -> FinishedSpan -> m () Source #
A reporter which stores the finished spans in memory where they wait to be consumed.
Construct a new memReporter
environment that can store an unbounded
seequence of FinishedSpan
s.
newBoundedMem :: Word32 -> IO Mem Source #
Construct a new memReporter
environment that stores a bounded
sequence of FinishedSpan
s
memPeek :: Mem -> IO [FinishedSpan] Source #
View the FinishedSpans
in a memReporter
without removing them.
memTake :: Mem -> IO [FinishedSpan] Source #
View and remove the FinishedSpans
in a memReporter
.