| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.RTView.NodeState.Updater
Synopsis
- launchNodeStateUpdater :: Trace IO Text -> Switchboard Text -> ErrorBuffer Text -> MVar NodesState -> IO ()
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|.