cardano-rt-view-0.1.0
Safe HaskellNone
LanguageHaskell2010

Cardano.RTView.NodeState.Updater

Synopsis

Documentation

launchNodeStateUpdater :: Trace IO Text -> Switchboard Text -> ErrorBuffer Text -> MVar NodesState -> IO () Source #

This function is running in a separate thread. It takes |LogObject|s with nodes' metrics from |LogBuffer|, extracts these metrics and updates corresponding values in the |NodesState|.